8.6.5 Mounting File Systems
You need to configure your Linux system to allow only the root user account to mount the CD-ROM device. Which of the following options should you add to the /etc/fstab file?
/dev/cdrom /media/cdrom -t iso9660 ro,nouser,noauto
What file shows the currently mounted volumes?
/etc/mtab
Which of the following directories is specified by Filesystem Hierarchy Standard (FHS) as a mount point for removable media, such as USB storage media, DVDs, and CD-ROMs?
/media
Yesterday, you created a new swap area for your system. Today, after rebooting the system, you find that the swap area is not mounted. What should you do to ensure the swap area is mounted each time the system boots?
Edit /etc/fstab and add the swap partition.
You attempt to unmount a volume using the umount /dev/sdd3 command, but you receive a device is busy error message. Which of the following strategies will be MOST likely to allow you to unmount the file system? (Select two.)
Ensure your current working directory is not on the file system, and try to unmount again. Find and close any open files on the file system, and try to unmount again.
A user is trying to access a file system mounted at /mnt/sdb1, but receives an error that states No such file or directory. Which commands can you use to see the current mount points? (Select two.)
df mount
A number of new file systems have been added to a Linux server and you want to activate them. You also do not want to bring the server down. What command will activate the file systems without bringing the server down?
mount -a
You need to mount the CD-ROM device to the /media/cdrom directory. What command should you enter at the command prompt?
mount /dev/cdrom /media/cdrom
You have partitioned and formatted a new sdc hard drive. You want to mount the first partition on sdc to directory /mnt/newdisk. Which command will perform the mount correctly?
mount /dev/sdc1 /mnt/newdisk
Partition /dev/sdb2 is mounted to /mnt/temp. You need to unmount /dev/sdb2. Which of the following commands can you use to unmount the partition? (Select two.)
umount /dev/sdb2 umount /mnt/temp