» Linux » Examen sur Linux » Examen 201 : Advanced Administration » Section 5 » Question 15/23
15.You have created a local ext2 file system on the third partition of your first IDE disk drive. You want to facilitate easy manual mounting but you DO NOT wish the file system to be automatically mounted at a boot. What is the correct /etc/fstab entry?

/dev/hda3/newfilesystem ext2 noboot 0 1
/newfilesystem /dev/hda3 ext2 defaults 0 1
/newfilesystem ext2 /dev/hda3 user 0 1
/dev/hda3/newfilesystem ext2 noauto 0 1
/dev/hda3 ext2 /newfilesystem defaults 0 -1

Explanation: /dev/hda3 indicates the 3rd partition on the first IDE hard disk (hda). Ext2 indicates the file system type. Noauto means that the file system will not be automatically mounted. The first '0' means that the file system shouldn't be backed up and the 1 means that the file system should be checked for errors when the machine boots.

Reference: http://www.humbug.org.au/talks/fstab/fstab_options.html

Incorrect Answers
A: Noboot is an incorrect option.
B: The syntax of this command (the path of the file system) is incorrect.
C: The syntax of this command (the path of the file system) is incorrect.
E: The defaults option will use the default fstab options. The default is to automatically mount the file system at boot time.

« Question 14 Question 16 »