From: Jan Safranek Date: Fri, 9 Dec 2011 14:04:48 +0000 (+0100) Subject: cgconfigparser: Added 'default' section documentation to cgconfig.conf man. X-Git-Tag: v0.38~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=554848425c9c4c1964d225ea1b58b2ddd4d069bb;p=thirdparty%2Flibcgroup.git cgconfigparser: Added 'default' section documentation to cgconfig.conf man. Add documentation of the new section to cgconfig.conf(5). Signed-off-by: Jan Safranek --- diff --git a/doc/man/cgconfig.conf.5 b/doc/man/cgconfig.conf.5 index 64cd6316..d19e370a 100644 --- a/doc/man/cgconfig.conf.5 +++ b/doc/man/cgconfig.conf.5 @@ -10,10 +10,13 @@ is a configuration file used by to define control groups, their parameters and their mount points. The file consists of .I mount -and +, .I group -sections. These sections can be in arbitrary order and both are optional. -Any line starting with '#' is considered a comment line and is ignored. +and +.I default +sections. These sections can be in arbitrary order and all of them are +optional. Any line starting with '#' is considered a comment line and +is ignored. .LP .I mount section has this form: @@ -190,6 +193,52 @@ If no .I group section is specified, no groups are created. +.I default +section has this form: +.RS +.nf +.ft B +.sp +default { +.RS +.ft B +perm { +.RS +.ft B +task { +.RS +.ft B +uid = ; +gid = ; +fperm = +.RE +} +admin { +.RS +uid = ; +gid = ; +dperm = +fperm = +.RE +} +.RE +} +.RE +} +.ft R +.fi +.RE + +Content of the +.B perm +section has the same form as in +.I group +section. The permissions defined here specify owner and permissions of +groups and files of all groups, which do not have explicitly specified +their permissions in their +.I group +section. + .\"********************************************" .SH EXAMPLES .LP