Re: [patch 7/7] vfs: mountinfo: show dominating group id

From: Miklos Szeredi
Date: Fri Mar 28 2008 - 04:53:26 EST


> On Thu, Mar 27, 2008 at 01:06:26PM +0100, Miklos Szeredi wrote:
> > +propagate_from:X mount is slave and receives propagation from peer group X (*)
> > unbindable mount is unbindable
> >
> > +(*) X is the closest dominant peer group under the process's root. If
> > +X is the immediate master of the mount, or if there's no dominant peer
> > +group under the same root, then only the "master:X" field is present
> > +and not the "propagate_from:X" field.
>
> Humm... How does one distinguish between these variants? Searching
> in mountinfo for vfsmount with group ID of reported master?

Yeah. We could show propagate_from: unconditionally, but it would be
redundant most of the time.

Miklos
--
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/