]> 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>
Mon, 7 Sep 2009 07:27:18 +0000 (09:27 +0200)
commit57272092d31f7bbd244137afc441d8de0d9ea47a
treeaf0192d593ad7ece3bfe733f986c5c31a5994091
parent20a147ef0ea56b6d9bce0a1b83f5c57e7bbefd76
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