Intermediate Package: util-linux

mount

Attach a filesystem to the directory tree.

Syntax

mount [options] device mountpoint

Description

mount makes a filesystem on a device (or a network share, or an image file) accessible at a chosen directory. Mounts made this way do not persist across reboots unless also added to /etc/fstab.

Examples

sudo mount /dev/sdb1 /mnt/data
Mount a partition at a chosen directory
mount
List all currently mounted filesystems
sudo mount -o remount,rw /
Remount the root filesystem read-write
sudo umount /mnt/data
Unmount a filesystem

Applies to

Ubuntu Debian Linux Mint RHEL CentOS / Rocky / AlmaLinux Fedora Arch Linux openSUSE Alpine Linux