]> err.no Git - util-linux/commit
mount: mention mtab for single mount point mount in mount.8
authorPeter Volkov <pva@gentoo.org>
Tue, 18 Aug 2009 12:21:33 +0000 (14:21 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 18 Aug 2009 12:21:33 +0000 (14:21 +0200)
commit3f99aaf1c95fa39e54d27324da777ebd3721c7de
treef053a8810d31f029c3ac08d73786b8c019a252bf
parentd0d4a999c53efa94fb7c3016aa706711493304b9
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>
mount/mount.8