Re: [patch] VFS: extend /proc/mounts

From: Karel Zak
Date: Wed Jan 16 2008 - 18:51:17 EST


On Wed, Jan 16, 2008 at 02:30:51PM -0800, Andrew Morton wrote:
> On Wed, 16 Jan 2008 23:12:31 +0100
> Miklos Szeredi <miklos@xxxxxxxxxx> wrote:
> >
> > In theory it could break userspace, but I think it's very unlikely to
> > do so, because stuff is added only at the end of the lines, and
> > because most programs probably parse it through the libc interface
> > which is not broken by this change. Despite this, it should be tested
> > on as many systems as possible.
>
> Seems like a plain bad idea to me. There will be any number of home-made
> /proc/mounts parsers and we don't know what they do.

So, let's use /proc/mounts_v2 ;-)

Karel

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