August 13, 2016

Question about LAB_SOL 12.1

In this lab the last command "/tmp/mntpoint/ls" is supposed to produce an error and I am not seeing one. What is supposed to happen? I am using VMware player to run the vm and the vm is running CentOS Linux release 7.2.1511 (Core).

 

Current folder is /tmp

dd if=/dev/zero of=imagefile bs=1M count=1024

mkfs.ext4 imagefile

mount -o loop imagefile mntpoint

cp /bin/ls /tmp/mntpoint

/tmp/mntpoint/ls

Click Here!