From 34d725f69d447ce31d0152cbd3ef6f3ea15a54e1 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 25 Apr 2016 13:06:49 +0200 Subject: [PATCH] cgroups.7: Clarify some details of comounting all cgroup v1 hierarchies Signed-off-by: Michael Kerrisk --- man7/cgroups.7 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/man7/cgroups.7 b/man7/cgroups.7 index a79304d15..90a8fb01e 100644 --- a/man7/cgroups.7 +++ b/man7/cgroups.7 @@ -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.