Messages in this thread | | | Date | Tue, 3 Feb 2009 08:55:34 -0800 | Subject | Re: cgroup mount point | From | Paul Menage <> |
| |
On Tue, Feb 3, 2009 at 6:38 AM, Gustavo Noronha <kov@debian.org> 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. /dev/cgroup or /dev/cgroup/<hierarchy_name> sounds more reasonable to me (although if anyone is still using devfs that would suffer from the same drawbacks)
Paul
| |