From 57272092d31f7bbd244137afc441d8de0d9ea47a Mon Sep 17 00:00:00 2001 From: Peter Volkov Date: Tue, 18 Aug 2009 14:21:33 +0200 Subject: [PATCH] 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 --- mount/mount.8 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. -- 2.39.5