cgroups.7: Clarify some details of comounting all cgroup v1 hierarchies

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-04-25 13:06:49 +02:00
parent 615e4edeed
commit 34d725f69d
1 changed files with 6 additions and 2 deletions

View File

@ -155,9 +155,13 @@ must be mounted before they can be controlled.
The usual place for this is under
.IR /sys/fs/cgroup .
If all the desired subsystems can be comounted,
then the system may simply
then can do so with the following command:
mount -t cgroup cgroup /sys/fs/cgroup
mount -t cgroup -o all cgroup /sys/fs/cgroup
(One can achieve the same result by omitting
.IR "-o all" ,
since it is the default if subsystems are explicitly specified.)
If multiple, separately mounted subsystems are desired, then this is
usually done in per-subsystem subdirectories.