]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
man: document cgcreate's -b (systemd) option
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Thu, 16 Feb 2023 12:08:54 +0000 (17:38 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 16 Feb 2023 16:37:27 +0000 (09:37 -0700)
Add documentation about the -b option in the cgcreate's man page. This
option ignores the default systemd delegated hierarchy path and
constructs the path of the control groups relative to the cgroup root
hierarchy.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
(cherry picked from commit 230dbbe679688864ce2a7005b5bea3d246efdd11)

doc/man/cgcreate.1

index d45bb68ab83f0aa0d3ecae8d0d3711f8e7cc43e4..eed14ad874c3062d2f2b32245a819d6d310a4cb5 100644 (file)
@@ -5,7 +5,7 @@
 cgcreate \- create new cgroup(s)
 
 .SH SYNOPSIS
-\fBcgcreate\fR [\fB-h\fR] [\fB-t\fR <\fItuid>:<tgid\fR>]
+\fBcgcreate\fR [\fB-h\fR] [\fB-b\fR] [\fB-t\fR <\fItuid>:<tgid\fR>]
 [\fB-a\fR <\fIagid>:<auid\fR>] [\fB-f\fR mode] [\fB-d\fR mode]
 [\fB-s\fR mode] \fB-g\fR <\fIcontrollers>:<path\fR> [\fB-g\fR ...]
 
@@ -20,6 +20,12 @@ rest of the defined control group’s files. These users are
 allowed to set subsystem parameters and create subgroups.
 The default value is the same as has the parent cgroup.
 
+.TP
+.B -b
+ignores the default systemd delegated hierarchy path and
+constructs the path of the control groups relative to the
+cgroup root hierarchy.
+
 .TP
 .B -d, --dperm=mode
 sets the permissions of a control groups directory.