Add documentation of the new section to cgconfig.conf(5). Signed-off-by: Jan Safranek <jsafr...@redhat.com> ---
doc/man/cgconfig.conf.5 | 55 ++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 52 insertions(+), 3 deletions(-) diff --git a/doc/man/cgconfig.conf.5 b/doc/man/cgconfig.conf.5 index 64cd631..d19e370 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 = <task user>; +gid = <task group>; +fperm = <file permissions> +.RE +} +admin { +.RS +uid = <admin name>; +gid = <admin group>; +dperm = <directory permissions> +fperm = <file permissions> +.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 ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel