]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
cgconfigparser: Added 'default' section documentation to cgconfig.conf man.
authorJan Safranek <jsafrane@redhat.com>
Fri, 9 Dec 2011 14:04:48 +0000 (15:04 +0100)
committerJan Safranek <jsafrane@redhat.com>
Fri, 16 Dec 2011 12:51:41 +0000 (13:51 +0100)
Add documentation of the new section to cgconfig.conf(5).

Signed-off-by: Jan Safranek <jsafrane@redhat.com>
doc/man/cgconfig.conf.5

index 64cd63162fdb78b5aab840ad72dee559b5633ff6..d19e370a25eab23d89c78806dbd6ef8619e5c52c 100644 (file)
@@ -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