Expose the same directory tree at another path.

Section: Mount and Unmount

Bind mount a directory

bash
bash
sudo mount --bind /srv/data /mnt/data
Explanation

Expose the same directory tree at another path.

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 device to a directory
Mount a block device using filesystem auto-detection.
OpenIn sheetbashsame section
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
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