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
- mount point — The directory where a filesystem is attached into the single directory tree.
- mount options — Flags given when mounting, such as ro for read-only, noexec to forbid running programs or nosuid to ignore setuid bits.
- filesystem — The way an operating system organises files and folders on a disk or in memory.
- block device — A storage device, such as a disk or a partition, that the kernel reads and writes in fixed-size blocks.
Taught in
- Disks, Filesystems And Mounting — Linux Fundamentals & Systems Administration
- Four Minutes To Boot: Firmware, GRUB, Kernel And Targets — CompTIA Linux+ (XK0-006) Exam Prep
- A Card With No Driver, A Stick With Too Much: Devices And Kernel Modules — CompTIA Linux+ (XK0-006) Exam Prep
- No Space For Tonight's Scans: Partitions And LVM On Both Families — CompTIA Linux+ (XK0-006) Exam Prep
- Which RAID, Which File System? Disks That Fail And Inodes That Run Out — CompTIA Linux+ (XK0-006) Exam Prep
- The Upload That Ran: Mount Options, Swap And Network Shares — CompTIA Linux+ (XK0-006) Exam Prep
- Down Until Morning: Unit Files, Drop-ins, Masks And systemd's Helpers — CompTIA Linux+ (XK0-006) Exam Prep
- Works On My Laptop: Images, Containers, Volumes And Networks — CompTIA Linux+ (XK0-006) Exam Prep
- You Are In Emergency Mode: Boot Failures From GRUB To fstab, On Both Families — CompTIA Linux+ (XK0-006) Exam Prep
- No Space Left, Says The Disk With Room To Spare: Inodes, Held Files, Corruption And Repair — CompTIA Linux+ (XK0-006) Exam Prep
- It Is Slow, Says Everyone: CPU, Memory, Disk And Network Bottlenecks — CompTIA Linux+ (XK0-006) Exam Prep
- Three PBQs Against The Clock: A Performance-Based Mock On Both Families — CompTIA Linux+ (XK0-006) Exam Prep
- Ninety Minutes, Five Domains: The Full Mock And The Week Before The Exam — CompTIA Linux+ (XK0-006) Exam Prep