Linux Filesystems and Mounts Cheat Sheet/Mount a device to a directory

Mount a block device using filesystem auto-detection.

Section: Mount and Unmount

Mount a device to a directory

bash
bash
sudo mount /dev/sdb1 /mnt/data
Explanation

Mount a block device using filesystem auto-detection.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Mount and Unmount
Mount a filesystem read-only
Useful for safe inspection or recovery work.
OpenIn sheetbashsame section
Mount by UUID
Use a stable identifier instead of a device name.
OpenIn sheetbashsame section
Bind mount a directory
Expose the same directory tree at another path.
OpenIn sheetbashsame section
Remount a filesystem read-write
Change mount options for a mounted filesystem.
OpenIn sheetbashsame section
List open files under a mount
Find which processes still hold files on a mounted filesystem.
OpenIn sheetbashsame section
Inspect mount options for a path
Show which filesystem backs a path and how it is mounted.
OpenIn sheetbashsame section