summaryrefslogtreecommitdiffstats
path: root/mount/mount.8
diff options
context:
space:
mode:
authorPeter Volkov2009-08-18 14:21:33 +0200
committerKarel Zak2009-08-18 14:21:33 +0200
commit3f99aaf1c95fa39e54d27324da777ebd3721c7de (patch)
treef053a8810d31f029c3ac08d73786b8c019a252bf /mount/mount.8
parentmount: clean up mount.8 (diff)
downloadkernel-qcow2-util-linux-3f99aaf1c95fa39e54d27324da777ebd3721c7de.tar.gz
kernel-qcow2-util-linux-3f99aaf1c95fa39e54d27324da777ebd3721c7de.tar.xz
kernel-qcow2-util-linux-3f99aaf1c95fa39e54d27324da777ebd3721c7de.zip
mount: mention mtab for single mount point mount in mount.8
Karel Zak wrote: "This is very old (10+years) feature. The mount(8) is trying to found mountpoint/device in fstab and then in mtab. I guess the original purpose for this feature is user-friendly 'mount /node -o remount'. Unfortunately, the code does not check for MS_REMOUNT flag and consults mtab in all cases. (The code is consulting fstab/mtab before mount options parsing.)" This commit documents this feature. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/mount.8')
-rw-r--r--mount/mount.84
1 files changed, 3 insertions, 1 deletions
diff --git a/mount/mount.8 b/mount/mount.8
index a8f64c7b4..4e1b572da 100644
--- a/mount/mount.8
+++ b/mount/mount.8
@@ -274,7 +274,9 @@ option will make mount fork, so that the
filesystems are mounted simultaneously.
.LP
When mounting a filesystem mentioned in
-.IR fstab ,
+.IR fstab
+or
+.IR mtab ,
it suffices to give only the device, or only the mount point.