[RFC] Prefixing cgroup generic control filenames with "cgroup."

Paul Menage menage at google.com
Thu Feb 28 13:28:31 PST 2008


On Thu, Feb 28, 2008 at 1:21 PM, Andrew Morton
<akpm at linux-foundation.org> wrote:

>
>  Because if something is in /foo/bar/cgroup/notify_on_release then
>  prefixing the filename with "cgroup_" seems pretty pointless.
>

The point would be to avoid situations where a user has code that
creates a group directory called "foo", and then in a future kernel
release cgroups introduces a control file called "foo". If it's
prefixed, then the user just has to avoid creating groups prefixed by
"cgroup." or any subsystem name, so collisions will be less likely.

Paul


More information about the Containers mailing list