Disk and Storage

mount

Attaches a filesystem to the directory tree.

mount connects a filesystem from a device, network share, or virtual source to a mount point in the single Linux directory tree.

Syntax
mount [options] source target

Arguments explained

  • source is the device or filesystem source.
  • target is the directory mount point.
  • -t sets filesystem type.
  • -o sets mount options.

Common examples

Mount a partition
sudo mount /dev/sdb1 /mnt/usb

Attaches the partition at /mnt/usb.

Show current mounts
mount | less

Lists mounted filesystems.

mount Command
FieldDetails
Commandmount
CategoryDisk and Storage
Primary useAttaches a filesystem to the directory tree.
Syntaxmount [options] source target