mount -o remount,ro /mnt

Category: Administration

mount -o remount,ro /mnt

Remount a filesystem as read-only

Remounts an already-mounted filesystem as read-only without unmounting it first. Useful for maintenance.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.