From 370dc7a23e0c115d05821e79855ac88f7d1ff242 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 6 Jan 2009 14:39:58 +0100 Subject: [PATCH] mount: add info about semantics of read-only mount to mount.8 Reported-by: Joachim Wagner Signed-off-by: Karel Zak --- mount/mount.8 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mount/mount.8 b/mount/mount.8 index 50655f0b..bbbbd33a 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 -- 2.39.5