Re: cgroup mount point

From: Mike Hommey
Date: Tue Feb 03 2009 - 14:29:38 EST


On Tue, Feb 03, 2009 at 08:55:34AM -0800, Paul Menage wrote:
> On Tue, Feb 3, 2009 at 6:38 AM, Gustavo Noronha <kov@xxxxxxxxxx> wrote:
> > On Tue, 2009-02-03 at 23:44 +1100, Ben Finney wrote:
> >> I agree with all that Thadeu Lima says here. I would add that cgroups
> >> are nothing to do with device nodes, so definitely don't belong in
> >> '/dev/' either.
> >>
> >> Since they're a filesystem mapping "for browsing and manipulation
> >> from user space" of a kernel facility, I think '/sys/cgroups/' is
> >> appropriate.
> >
> > I agree with this point of view. I believe /sys/cgroups is the way to
> > go. Now, of course this has the drawback of shadowing something future
> > versions of Linux would make available at that same path, but I am
> > pretty sure they would be careful not to do that after distributions
> > have settled on a standard path.
>
> Having one virtual filesystem mounted on top of another virtual
> filesystem seems like a recipe for problems.

Like with /sys/fs/fuse/connections ? Come on, there is no problem with a
virtual filesystem mounted on top of another.

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