Interview Prep/Linux/Storage & Memory

Explain the six fields of an /etc/fstab line.

IntermediateConceptStorage & Memory
Answer
UUID=3f1c...  /data  xfs  defaults,noatime,nofail  0  2
  1. Device (prefer UUID= or LABEL=, not /dev/sdb1, which can change)
  2. Mount point
  3. Filesystem type
  4. Options
  5. dump flag (legacy, 0)
  6. fsck pass order: 0 skip, 1 root, 2 others (XFS ignores this, use 0)
All Linux questions Roadmap: Linux

More on Storage & Memory