From: Peter Volkov Date: Tue, 18 Aug 2009 12:21:33 +0000 (+0200) Subject: mount: mention mtab for single mount point mount in mount.8 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f99aaf1c95fa39e54d27324da777ebd3721c7de;p=util-linux 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 --- diff --git a/mount/mount.8 b/mount/mount.8 index a8f64c7b..4e1b572d 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.