Re: rootfs exposure in /proc/mounts

From: Christoph Hellwig (hch@infradead.org)
Date: Sun Oct 27 2002 - 10:09:36 EST


On Sun, Oct 27, 2002 at 10:02:31AM -0500, Jeff Garzik wrote:
> symlinks directly to /proc/mounts is fine with me -- just don't expect
> any sympathy when userspace tools don't handle things like $subject. :)
> The answer will be "fix the userspace tools" not "add special case code
> to the kernel" :)

well, better link to /proc/self/mounts directly, that's where /proc/mounts
links to. That's another reason why the /etc/mtab-concept is broken:
you might have very different mounts in different processes.

-
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 : Thu Oct 31 2002 - 22:00:33 EST