How to Mount a Filesystem in Linux (mount)

mount attaches a filesystem (like a disk partition or network share) to a specific directory, making its contents accessible.

Published October 1, 2026

mount attaches a filesystem (like a disk partition or network share) to a specific directory, making its contents accessible.

Key points

  • mount /dev/sdb1 /mnt/data mounts a device at the /mnt/data directory
  • Entries in /etc/fstab define filesystems that should be mounted automatically at boot
  • umount /mnt/data detaches a mounted filesystem — the device must not be in use for this to succeed

Example

sudo mount /dev/sdb1 /mnt/data
More Linux articles