aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>2025-11-23 22:58:35 -0500
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>2025-11-24 08:39:32 -0500
commit22de06af301327e810d05a3a3aba5c653976a3d0 (patch)
tree7ee58ed42c292c8128e2175c677a16c510e27ba2
parent947a19355cab82236c632bea24d08e187bfaf45c (diff)
downloadutil-linux-22de06af301327e810d05a3a3aba5c653976a3d0.tar.gz
mount: document --ro option on the man page
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
-rw-r--r--sys-utils/mount.8.adoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/mount.8.adoc b/sys-utils/mount.8.adoc
index 9a5479fe54..28978eda6c 100644
--- a/sys-utils/mount.8.adoc
+++ b/sys-utils/mount.8.adoc
@@ -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.