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

From: Guest section DW (dwguest@win.tue.nl)
Date: Mon Mar 19 2001 - 18:43:17 EST


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/



This archive was generated by hypermail 2b29 : Fri Mar 23 2001 - 21:00:13 EST