From 3f93da987961c139215d3a55fd25496310537d1b Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Fri, 9 Jan 2015 02:00:37 -0500 Subject: tmpfiles: attach an array of items to each path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The data structure used by tmpfiles is changed: instead of hashmaps mapping {path → Item*} we now have hashmaps containing {path -> ItemArray}, where ItemArray contains a pointer to an array of Items. For current code it doesn't matter much, but when we add new types it is easier to simply add a new Item for a given path, then to coalesce multiple lines into one Item. In the future, this change will also make it possible to remember the file and line where each Item originates, and use that in reporting errors. Currently this is not possible, since each Item can be created from multiple lines. --- man/tmpfiles.d.xml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'man/tmpfiles.d.xml') diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index 9fd5913d83..8d806a41ea 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -288,16 +288,9 @@ t - Set extended attributes on item. It may be - used in conjunction with other types (only - d, D, - f, F, - L, p, - c, b, makes sense). - If used as a standalone line, then - systemd-tmpfiles will try to set extended - attributes on specified path. This can be especially used - to set SMACK labels. + Set extended attributes on the specified + path. This can be useful for setting SMACK labels. + -- cgit v1.2.3-54-g00ecf