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.
Incorrect. remount reapplies options to an existing mount rather than processing all fstab entries.
umount -aIncorrect. umount -a detaches mounts.
Incorrect. umount -a detaches mounts.
findmnt -aIncorrect. findmnt -a displays information and does not mount entries.
Incorrect. findmnt -a displays information and does not mount entries.
mount -aCorrect. mount -a mounts eligible fstab entries.
Correct. 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 / ヘルプ表示のみ
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.