Add one persistent filesystem mount entry to /etc/fstab.
Which six-field order is standard?
fstab fields are fs_spec, fs_file, fs_vfstype, fs_mntops, fs_freq, and fs_passno: source, target, type, options, dump, and fsck order.
Detailed explanation
Incorrect. The source and target plus type and options are in the wrong order.
Correct. Device, mount point, filesystem type, options, dump, and fsck order are standard.
Incorrect. The identifier, target, options, and check fields are rearranged.
Incorrect. The mount point is field 2 and type is field 3.
Try it yourself
An example you can run in a temporary verification environment.
grep -vE '^[[:space:]]*(#|$)' /etc/fstab | sed -n '1,4p'Expected result
環境に存在するfstabの有効行。空の場合もあるKey points
- Source → target → type → options
- Field 5 is dump
- Field 6 is fsck order
Notes
- Environment: Linux /etc/fstab / 読み取り操作
- Prefer help or version output and a disposable device when testing storage commands.
- Formatting, repair, and mount changes can affect data or availability.
Foundation review
Place the operation
Incorrect column order can mount the wrong source, type, or options.
Check the side effect
Validate a changed fstab before applying it at boot or with mount -a.