]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mount: add note about /etc/mtab unreliability to mount.8
authorKarel Zak <kzak@redhat.com>
Wed, 30 May 2007 09:42:55 +0000 (11:42 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 30 May 2007 09:42:55 +0000 (11:42 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/mount.8

index be6e5376201dd8a73a46ad452a9264b6ee82ace7..802f4e46832126d6044a958c5dfc55d133d13f8b 100644 (file)
@@ -2057,6 +2057,16 @@ Mount by label or uuid will work only if your devices have the names listed in
 .IR /proc/partitions .
 In particular, it may well fail if the kernel was compiled with devfs
 but devfs is not mounted.
+.PP
+It is possible that files
+.IR /etc/mtab
+and
+.IR /proc/mounts
+don't match. The first file is based only on the mount command options, but the
+content of the second file also depends on the kernel and others settings (e.g.
+remote NFS server. In particular case the mount command may reports unreliable
+information about a NFS mount point and the /proc/mounts file usually contains
+more reliable information.)
 .SH HISTORY
 A
 .B mount