Mount filesystems to make them accessible.
high risk
findmnt --verifyValidate /etc/fstab before the next reboot.mount -favFake run: shows what `mount -a` would do without mounting anything.mount attaches filesystems (block devices, network shares, virtual filesystems) to the directory tree. Without arguments, shows all currently mounted filesystems. Persistent mounts are configured in /etc/fstab.
| Flag | Meaning |
|---|---|
-t --types | Filesystem type (ext4, nfs, tmpfs, etc.) |
-o --options | Mount options (ro, rw, noexec, etc.) |
-a --all | Mount all filesystems from /etc/fstab |
--bind | Bind-mount a directory to another location |
mount | column -tShow all mounts in table format · explain & risk-check →mount /dev/sdb1 /mnt/dataMount a disk partition · explain & risk-check →mount -o ro /dev/sdb1 /mnt/recoveryMount read-only for recovery · explain & risk-check →mount --bind /opt/app /var/www/appBind-mount a directory · explain & risk-check →mount -t tmpfs -o size=512m tmpfs /tmp/ramdiskCreate RAM disk · explain & risk-check →Use `mount -o remount,ro /` for emergency read-only remount during disk issue investigation — prevents further writes while you diagnose. Reverse with `remount,rw`.
Reference text is hand-written and may be incomplete — check man mount for your version. Test destructive commands on a non-production system first.