From: Kamalesh Babulal Date: Thu, 16 Feb 2023 12:08:54 +0000 (+0530) Subject: man: document cgxset's -b (systemd) option X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3bd7475524ae152bcce3664dcd8a90a24bb2b9a;p=thirdparty%2Flibcgroup.git man: document cgxset's -b (systemd) option Add documentation about the -b option in the cgxset'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 Signed-off-by: Tom Hromatka (cherry picked from commit ae92896abd762cbc8cdcd66387931913f0e13eb7) --- diff --git a/doc/man/cgxset.1 b/doc/man/cgxset.1 index 818a50b1..cb384513 100644 --- a/doc/man/cgxset.1 +++ b/doc/man/cgxset.1 @@ -4,9 +4,9 @@ cgxset \- set the parameters of given cgroup(s) .SH SYNOPSIS -\fBcgxset\fR [\fB-1\fR] [\fB-2\fR] [\fB-i\fR] [\fB-r\fR <\fIname=value\fR>] <\fBcgroup_path\fR> ... +\fBcgxset\fR [\fB-1\fR] [\fB-2\fR] [\fB-i\fR] [\fB-b\fR] [\fB-r\fR <\fIname=value\fR>] <\fBcgroup_path\fR> ... .br -\fBcgxset\fR \fB--copy-from\fR <\fIsource_cgroup_path\fR> <\fBcgroup_path\fR> ... +\fBcgxset\fR [\fB-b\fR] \fB--copy-from\fR <\fIsource_cgroup_path\fR> <\fBcgroup_path\fR> ... .SH DESCRIPTION Set the parameters of input cgroups. @@ -36,6 +36,11 @@ data in/out of \fBcgxset\fR is in cgroup v2 format. In this mode, the user will provide values in cgroup v2 format and receive values in v2 format. If the system is running in cgroup v1 mode, libcgroup will convert the data as necessary +.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 -i, --ignore-unmappable ignore errors for values that cannot be converted from v1 to v2 or vice versa