From: Karel Zak Date: Wed, 30 May 2007 09:42:55 +0000 (+0200) Subject: mount: add note about /etc/mtab unreliability to mount.8 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38362fd23877e2845ac50bbb30e7970bcf7d309a;p=util-linux mount: add note about /etc/mtab unreliability to mount.8 Signed-off-by: Karel Zak --- diff --git a/mount/mount.8 b/mount/mount.8 index be6e5376..802f4e46 100644 --- a/mount/mount.8 +++ b/mount/mount.8 @@ -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