Skip to main content

Mounting in Linux

In Linux a storage device (a disk, partition or USB stick) is not accessed by a drive letter but is mounted into the directory tree at a chosen mountpoint. Once mounted, its contents appear under that directory.

Mounting

mount /dev/sdb1 /mnt/usb # Attach the device /dev/sdb1 at /mnt/usb

Unmounting

umount /mnt/usb # Detach the filesystem (note: the command is "umount", without the first "n")