summaryrefslogtreecommitdiffstats
path: root/mount/mount.8
diff options
context:
space:
mode:
authorKarel Zak2009-01-06 14:39:58 +0100
committerKarel Zak2009-01-06 14:39:58 +0100
commit370dc7a23e0c115d05821e79855ac88f7d1ff242 (patch)
tree04da2118acb5d5651de190a97df5fe3d463568dc /mount/mount.8
parentnamei: fix buffer overflow (diff)
downloadkernel-qcow2-util-linux-370dc7a23e0c115d05821e79855ac88f7d1ff242.tar.gz
kernel-qcow2-util-linux-370dc7a23e0c115d05821e79855ac88f7d1ff242.tar.xz
kernel-qcow2-util-linux-370dc7a23e0c115d05821e79855ac88f7d1ff242.zip
mount: add info about semantics of read-only mount to mount.8
Reported-by: Joachim Wagner <jwagner@computing.dcu.ie> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/mount.8')
-rw-r--r--mount/mount.86
1 files changed, 6 insertions, 0 deletions
diff --git a/mount/mount.8 b/mount/mount.8
index 50655f0be..bbbbd33a8 100644
--- a/mount/mount.8
+++ b/mount/mount.8
@@ -424,6 +424,12 @@ autofs\-based automounter.
.B \-r
Mount the file system read-only. A synonym is
.BR "\-o ro" .
+
+Note that, depending on the filesystem type, state and kernel behavior, the
+system may still write to the device. For example, Ext3 will replay its journal
+if the filesystem is dirty. To prevent this kind of write access, you may want
+to map the device through a read-only loop device, see command
+.BR losetup (8).
.TP
.B \-w
Mount the file system read/write. This is the default. A synonym is