In an /etc/fstab line, what does the sixth and last field control?
LPIC-1 Exam 101-500, objective 104. Devices, Linux filesystems, filesystem hierarchy standard medium
Draft — not checked yet. This question was written from the published exam objectives and cites the clause it comes from, but nobody has yet read it against that clause and signed for it.
It is kept out of search results and out of mock exams until they have. Read the source below before you take the answer as settled.
The options
Correct The order in which fsck checks filesystems at boot: 0 skip, 1 for the root filesystem, 2 for the rest.
Correct. Entries with pass 1 are checked first and alone; entries with 2 are checked afterwards and may run in parallel across different physical disks. 0 means never check at boot.
Not correct Whether the dump utility should back the filesystem up.
Wrong — that is the fifth field. It is almost always 0 on modern systems because virtually nobody uses dump any more.
Not correct The comma-separated mount options such as defaults, noatime or noauto.
Wrong — that is the fourth field.
Not correct The directory the filesystem is mounted on.
Wrong — that is the second field. The order is: device, mount point, filesystem type, options, dump, pass.
Why
The six fstab fields in order: device (or UUID=/LABEL=), mount point, filesystem type, mount options, dump flag, fsck pass number. Give the root filesystem pass 1, other local filesystems pass 2, and network or removable filesystems 0.
Where this comes from
- Cited
- LPI exam objective 104.3
- What it says
- Configure filesystem mounting in /etc/fstab.
Practise this
Reading one question is not practice. The trainer will draw a set from objective 104 and space the ones you get wrong.