Re: [PATCH] Doc/cgroup: Use /sys/fs/cgroup as mountpoint for cgroupfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/5/25 Randy Dunlap <rdunlap@xxxxxxxxxxxx>:
> On Thu, 26 May 2011 02:59:14 +0200 Jörg Sommer wrote:
>
>> According to 676db4af043014e852f67ba0349dae0071bd11f3 the canonical
>> mountpoint for the cgroup filesystem is /sys/fs/cgroup. Hence, this
>> should be used in the documentation. Because /sys/fs/cgroup is created by
>> cgroupfs, there's no need for userspace to create the directory. These
>> commands were removed.

We also need to mention the recommended way to mount multiple
hierarchies - mount a tmpfs on /sys/fs/cgroup, and then create mount
points for the hierarchies in there.

When the docs didn't mandate a specific mount point, but gave
directions to mkdir the mount point, it was pretty obvious how to have
multiple hierarchies, but if we're mandating /sys/fs/cgroup, it's less
obvious without mentioning the tmpfs mount.

In fact I'd prefer the docs to use the multi-hierarchy approach in the
examples wherever possible, and just mention the single-hierarchy case
as an alternative.

Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux