Home » LPI » 117-201 » Which entry should be put into /etc/fstab?
To allow a user to mount a CD and read from it, which entry should be put into /etc/fstab?
A. /dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
B. /dev/cdrom /mnt/cdrom iso9660 noauto,uid=user,gid=group,ro 0 0
C. /dev/cdrom /mnt/cdrom iso9660 noauto,User,ro 0 0
D. /dev/cdrom /mnt/cdrom iso9660 noauto,usermap,ro 0 0
E. /dev/cdrom /mnt/cdrom iso9660 noauto,owners,ro 0 0
Correct Answer: A
Explanation/Reference:
Explanation: This entry in the fstab file allows any user to mount the CD-ROM (/dev/cdrom) in the /mnt/cdrom directory. Iso9660 is the file system for the CD-ROM. Noauto means that the CD-ROM won’t be automatically mounted when the system boots. The first ‘0’ means that the CD-ROM shouldn’t be backed up and the second ‘0’ means that the CD-ROM file system shouldn’t be checked for errors when the machine boots.
Reference: Roderick W. Smith. Sybex Linux + Study Guide: Page 400/1.
Incorrect Answers:
B: The syntax of this entry is incorrect.
C:The ‘user’ field should be lowercase.
D:Usermap is an invalid entry for the user field.
E:Owners is an invalid entry for the user field.
Download Printable PDF. VALID exam to help you PASS.
|
|