» Linux » Examen sur Linux » Examen 201 : Advanced Administration » Section 1 » Question 15/20
15.To allow a user to mount a CD and read from it, which entry should be put into /etc/fstab?

/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,uid=user,gid=group,ro 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,User,ro 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,usermap,ro 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owners,ro 0 0

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. No auto 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: User map is an invalid entry for the user field.
E: Owners is an invalid entry for the user field.

« Question 14 Question 16 »