Re: on /etc/mtab vs. /proc/mounts

Guest section DW (dwguest@win.tue.nl)
Tue, 20 Mar 2001 00:43:17 +0100


On Mon, Mar 19, 2001 at 03:05:55PM -0800, Torrey Hoffman wrote:

> In fact, the "mount" man page on my Mandrake 7.2 system says:
>
> "It is possible to replace /etc/mtab by a symbolic link to
> /proc/mounts..." and then goes on to describe some of the issues and
> problems with doing so - loopback, and paths with spaces seem to
> be the significant ones.

The spaces part was fixed in patch-2.4.0-test7.

Today there is a different flaw again:
After "mount --bind somedir mountpoint" there is no
indication of somedir in /proc/mounts.

Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/