Useful for safe inspection or recovery work.
Section: Mount and Unmount
Mount a filesystem read-only
bash
bash
sudo mount -o ro /dev/sdb1 /mnt/dataExplanation
Useful for safe inspection or recovery work.
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.
Remount a filesystem read-write
Change mount options for a mounted filesystem.
List open files under a mount
Find which processes still hold files on a mounted filesystem.
Inspect mount options for a path
Show which filesystem backs a path and how it is mounted.