]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mount: document --ro option on the man page
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 24 Nov 2025 03:58:35 +0000 (22:58 -0500)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 24 Nov 2025 13:39:32 +0000 (08:39 -0500)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
sys-utils/mount.8.adoc

index 9a5479fe54ee9a6aea0e030bad992bf9543f4bb0..28978eda6c14ffdc26904fab8e99da8aeac3ae91 100644 (file)
@@ -437,7 +437,7 @@ Use options from _fstab_/_mtab_ even if both _device_ and _dir_ are specified.
 *-R*, *--rbind*::
 Remount a subtree and all possible submounts somewhere else (so that its contents are available in both places). See above, the subsection *Bind mount operation*.
 
-*-r*, *--read-only*::
+*-r*, *--ro*, *--read-only*::
 Mount the filesystem read-only. A synonym is *-o ro*.
 +
 Note that, depending on the filesystem type, state and kernel behavior, the system may still write to the device. For example, ext3 and ext4 will replay the journal if the filesystem is dirty. To prevent this kind of write access, you may want to mount an ext3 or ext4 filesystem with the *ro,noload* mount options or set the block device itself to read-only mode, see the *blockdev*(8) command.