filesystem mount

Attaching a filesystem to a directory in the tree so its files appear under that path.

In more detail

mount /dev/sdb1 /srv/data makes the filesystem on that device visible at /srv/data; umount detaches it. Whatever was in the directory before is hidden, not deleted, until the filesystem is unmounted. Mounting changes the directory-tree view, not the data on the device.

Example

source=disk1 target=/mnt/x mode=ro mounted=yes records a deliberate read-only mount.

Related terms

Taught in

References

Certification courses