After editing /etc/fstab, mount all eligible entries that are not marked noauto without rebooting.
Which command is appropriate?
mount -a reads fstab and mounts eligible entries. Validate syntax with a tool such as findmnt --verify before applying changes.
Detailed explanation
mount -o remountIncorrect. remount reapplies options to an existing mount rather than processing all fstab entries.
umount -aIncorrect. umount -a detaches mounts.
findmnt -aIncorrect. findmnt -a displays information and does not mount entries.
mount -aCorrect. mount -a mounts eligible fstab entries.
Try it yourself
An example you can run in a temporary verification environment.
mount --help | grep -E -- '-a|--all' | sed -n '1,3p'Expected result
fstab記載の全ファイルシステムをマウントする-aの説明Key points
- mount -a processes fstab
- noauto entries are skipped
- Validate configuration first
Notes
- Environment: util-linux mount / ヘルプ表示のみ
- 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
mount -a is different from displaying, remounting, or detaching existing mounts.
Check the side effect
Run a configuration verification before applying many mounts.