Home » LPI » 117-201 » What is the correct /etc/fstab entry?
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 filesystem to be automatically mounted at a boot. What is the correct /etc/fstab entry?
A. /dev/hda3/newfilesystem ext2 noboot 0 1
B. /newfilesystem /dev/hda3 ext2 defaults 0 1
C. /newfilesystem ext2 /dev/hda3 user 0 1
D. /dev/hda3/newfilesystem ext2 noauto 0 1
E. /dev/hda3 ext2 /newfilesystem defaults 0 -1
Correct Answer: D
Explanation/Reference:
Explanation: /dev/hda3 indicates the 3rd partition on the first IDE hard disk (hda). Ext2 indicates the filesystem type. Noauto means that the filesystem will not be automatically mounted. The first ‘0’ means that the filesystem shouldn’t be backed up and the 1 means that the filesystem 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 filesystem) is incorrect.
C:The syntax of this command (the path of the filesystem) is incorrect.
E:The defaults option will use the default fstab options. The default is to automatically mount the filesystem at boot time.
Download Printable PDF. VALID exam to help you PASS.
|
|