summaryrefslogtreecommitdiff
path: root/man/tmpfiles.d.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-18 16:39:04 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-18 16:39:04 +0100
commit31ed59c51126fce7d958c188772a397e2a1ed010 (patch)
tree4283457ed50bb46e3cbf86bcc5bb06e1f3479a1a /man/tmpfiles.d.xml
parent88f06645623467f9c8db88afca64557d62e38c61 (diff)
tmpfiles: support writing short strings to files, in order to support /sys manipulations at boot time, a la sysctl
Diffstat (limited to 'man/tmpfiles.d.xml')
-rw-r--r--man/tmpfiles.d.xml14
1 files changed, 11 insertions, 3 deletions
diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml
index 080da6681b..25a7c9ba48 100644
--- a/man/tmpfiles.d.xml
+++ b/man/tmpfiles.d.xml
@@ -98,12 +98,17 @@ L /tmp/foobar - - - - /dev/null</programlisting>
<variablelist>
<varlistentry>
<term><varname>f</varname></term>
- <listitem><para>Create a file if it doesn't exist yet</para></listitem>
+ <listitem><para>Create a file if it doesn't exist yet (optionally writing a short string into it, if the argument parameter is passed)</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>F</varname></term>
- <listitem><para>Create or truncate a file</para></listitem>
+ <listitem><para>Create or truncate a file (optionally writing a short string into it, if the argument parameter is passed)</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><varname>w</varname></term>
+ <listitem><para>Write the argument parameter to a file, if it exists.</para></listitem>
</varlistentry>
<varlistentry>
@@ -260,7 +265,10 @@ L /tmp/foobar - - - - /dev/null</programlisting>
path of the symlink. For c, b determines the
major/minor of the device node, with major and
minor formatted as integers, separated by :,
- e.g. "1:3". Ignored for all other lines.</para>
+ e.g. "1:3". For f, F, w may be used to specify
+ a short string that is written to the file,
+ suffixed by a newline. Ignored for all other
+ lines.</para>
</refsect2>
</refsect1>