From fafcc818f14893a259fb51390d5a00065bf87f50 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Thu, 21 May 2015 15:29:39 -0400 Subject: [PATCH] docs: formatstorage: Update docs - Don't redocument the permissions fields for backingstore, just point to the volume docs. - Clarify that owner/group are inherited from the parent directory at volume create/pool build time. - Clarify that fields report runtime values too --- docs/formatstorage.html.in | 40 +++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/docs/formatstorage.html.in b/docs/formatstorage.html.in index 474abd625d..8f227b769e 100644 --- a/docs/formatstorage.html.in +++ b/docs/formatstorage.html.in @@ -404,12 +404,18 @@
This is currently only useful for directory or filesystem based pools, which are mapped as a directory into the local filesystem namespace. It provides information about the permissions to use for the - final directory when the pool is built. The - mode element contains the octal permission set. The - owner element contains the numeric user ID. The group - element contains the numeric group ID. The label element - contains the MAC (eg SELinux) label string. + final directory when the pool is built. There are 4 child elements. + The mode element contains the octal permission set. + The owner element contains the numeric user ID. + The group element contains the numeric group ID. + If owner or group aren't specified when + creating a directory, the values are inherited from the parent + directory. The label element contains the MAC (eg SELinux) + label string. Since 0.4.1 + For running directory or filesystem based pools, these fields + will be filled with the values used by the existing directory. + Since 1.2.16
timestamps
Provides timing information about the volume. Up to four @@ -583,15 +589,20 @@ volume format type value and the default pool format will be used. Since 0.4.1
permissions
-
Provides information about the default permissions to use +
Provides information about the permissions to use when creating volumes. This is currently only useful for directory or filesystem based pools, where the volumes allocated are simple files. For pools where the volumes are device nodes, the hotplug - scripts determine permissions. It contains 4 child elements. The - mode element contains the octal permission set. The - owner element contains the numeric user ID. The group - element contains the numeric group ID. The label element - contains the MAC (eg SELinux) label string. + scripts determine permissions. There are 4 child elements. + The mode element contains the octal permission set. + The owner element contains the numeric user ID. + The group element contains the numeric group ID. + If owner or group aren't specified when + creating a supported volume, the values are inherited from the parent + directory. The label element contains the MAC (eg SELinux) + label string. + For existing directory or filesystem based volumes, these fields + will be filled with the values used by the existing file. Since 0.4.1
compat
@@ -659,11 +670,8 @@ Since 0.6.0
permissions
Provides information about the permissions of the backing file. - It contains 4 child elements. The - mode element contains the octal permission set. The - owner element contains the numeric user ID. The group - element contains the numeric group ID. The label element - contains the MAC (eg SELinux) label string. + See volume permissions documentation for explanation + of individual fields. Since 0.6.0
-- GitLab