nerdexam
Linux_Foundation

LFCS · Question #700

How many fields are in a syntactically correct line of /etc/fstab?

The correct answer is D. 6. A syntactically correct line in the /etc/fstab file consists of exactly six fields, each separated by whitespace, defining a filesystem mount.

Submitted by satoshi_tk· Apr 18, 2026Storage Management

Question

How many fields are in a syntactically correct line of /etc/fstab?

Options

  • A3
  • B4
  • C5
  • D6
  • E7

How the community answered

(50 responses)
  • B
    2% (1)
  • C
    4% (2)
  • D
    86% (43)
  • E
    8% (4)

Why each option

A syntactically correct line in the `/etc/fstab` file consists of exactly six fields, each separated by whitespace, defining a filesystem mount.

A3

3 fields would be insufficient to define all the necessary parameters for a complete and functional filesystem entry in `/etc/fstab`.

B4

4 fields are also insufficient to fully specify a filesystem mount in `/etc/fstab`, as critical information like dump frequency and fsck pass number would be missing.

C5

5 fields would omit either the dump frequency or the fsck pass number, leading to an incomplete entry and potential issues with backup or boot-time checks.

D6Correct

Each standard entry in the `/etc/fstab` file is comprised of six distinct fields: 1) the device or UUID, 2) the mount point, 3) the filesystem type, 4) mount options, 5) dump frequency (for backup utilities), and 6) fsck pass number (for filesystem check order at boot).

E7

7 fields are not standard for `/etc/fstab`; the specification clearly defines only six fields for each filesystem entry.

Concept tested: `/etc/fstab` file structure

Source: https://man7.org/linux/man-pages/man5/fstab.5.html

Topics

#fstab#file system configuration#storage#mount points

Community Discussion

No community discussion yet for this question.

Full LFCS Practice