[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080117103438.GC6922@petra.dvoda.cz>
Date: Thu, 17 Jan 2008 11:34:38 +0100
From: Karel Zak <kzak@...hat.com>
To: Miklos Szeredi <miklos@...redi.hu>
Cc: viro@...IV.linux.org.uk, akpm@...ux-foundation.org,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
util-linux-ng@...r.kernel.org, linuxram@...ibm.com,
viro@....linux.org.uk, hch@...radead.org, a.p.zijlstra@...llo.nl
Subject: Re: [patch] VFS: extend /proc/mounts
On Thu, Jan 17, 2008 at 09:36:11AM +0100, Miklos Szeredi wrote:
> > I'd suggest doing a new file that would *not* try to imitate /etc/mtab.
> > Another thing is, how much of propagation information do we want to
> > be exposed and what do we intend to do with it?
>
> I think the scheme devised by Ram is basically right. It shows the
> relationships (slave, peer) and the ID of a master/peer mount.
Yes. It also shows the full relationship between source and
destination for bind mounts. Now the /proc/mounts is useless:
# mount --bind /mnt/test /mnt/test2
# cat /proc/mounts | grep test
/dev/root /mnt/test2 ext3 rw,noatime,data=ordered 0 0
> > What do we want to *do* with the information about propagation?
>
> Just feedback about the state of the thing. It's very annoying, that
> after setting up propagation, it's impossible to check the result.
Exactly.
Karel
--
Karel Zak <kzak@...hat.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists