[systemd-devel] [PATCH 2/3] Update the man page of tmpfiles.d(5), to document the new h/H command.

Goffredo Baroncelli kreijack at libero.it
Mon Mar 9 16:03:24 PDT 2015


On 2015-03-08 15:50, Ronny Chevalier wrote:
> 2015-03-08 12:48 GMT+01:00 Goffredo Baroncelli <kreijack at libero.it>:
>> From: Goffredo Baroncelli <kreijack at inwind.it>
>>
>> Update the man page of tmpfiles.d(5), to document the new h/H command.
>>
>> Signed-off-by: Goffredo Baroncelli <kreijack at inwind.it>
> 
> No Signed-off-by.
> 
> Also, why not merge the 3 commits in one ? I don't see why separating
> the man page update of the new feature in another commit is useful ?
> 
>> ---
>>  man/tmpfiles.d.xml | 32 ++++++++++++++++++++++++++++++++
>>  1 file changed, 32 insertions(+)
>>
>> diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml
>> index 8815bf9..f9074dd 100644
>> --- a/man/tmpfiles.d.xml
>> +++ b/man/tmpfiles.d.xml
>> @@ -303,6 +303,37 @@
>>          </varlistentry>
>>
>>          <varlistentry>
>> +          <term><varname>h</varname></term>
>> +          <listitem><para>Set file/directory attributes. Lines of this type
>> +          accept shell-style globs in place of normal path names.</para>
>> +
>> +          <para>The format of agrument field is <varname>[+-=][aAcCdDeijsStTu]
> 
> the argument*
ok
> 
>> +          </varname></para>
>> +
>> +          <para>The prefix <varname>+</varname> causes the
>> +          attribute(s) to be added; <varname>-</varname> causes the
>> +          attribute(s) to be removed; <varname>=</varname>
>> +          causes the attributes to set exactly as the following letters.</para>
>> +          <para>The letters 'aAcCdDeijsStTu' select the new
>> +          attributes for the files, see
>> +          <citerefentry><refentrytitle>chattr</refentrytitle>
>> +          <manvolnum>1</manvolnum></citerefentry> for further information.
>> +          </para>
>> +          <para>Passing only <varname>=</varname> as argument,
>> +          reset all the file attributes.</para>
>> +
>> +          </listitem>
>> +        </varlistentry>
>> +
>> +        <varlistentry>
>> +          <term><varname>H</varname></term>
>> +          <listitem><para>Recursively set file/directory attributes Lines
> 
> A . is missing before Lines.
thank,  correct
> 
>> +          of this type accept shell-style globs in place of normal
>> +          path names.
>> +          </para></listitem>
>> +        </varlistentry>
>> +
>> +        <varlistentry>
>>            <term><varname>a</varname></term>
>>            <term><varname>a+</varname></term>
>>            <listitem><para>Set POSIX ACLs (access control lists). If
>> @@ -529,6 +560,7 @@
>>        <citerefentry project='man-pages'><refentrytitle>setfattr</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
>>        <citerefentry project='man-pages'><refentrytitle>setfacl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
>>        <citerefentry project='man-pages'><refentrytitle>getfacl</refentrytitle><manvolnum>1</manvolnum></citerefentry>
>> +      <citerefentry project='man-pages'><refentrytitle>chattr</refentrytitle><manvolnum>1</manvolnum></citerefentry>
>>      </para>
>>    </refsect1>
>>
>> --
>> 2.1.4
>>
>> _______________________________________________
>> systemd-devel mailing list
>> systemd-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> 


-- 
gpg @keyserver.linux.it: Goffredo Baroncelli <kreijackATinwind.it>
Key fingerprint BBF5 1610 0B64 DAC6 5F7D  17B2 0EDA 9B37 8B82 E0B5


More information about the systemd-devel mailing list