summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-16 13:21:07 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-16 13:21:07 +0200
commit2e78fa79bbaebb358d2657c397180d2d08d69b12 (patch)
tree4c128734dff3fc78c49c1240c432f55cb62fc203 /man
parent45c196a76b2d883552c90807386d9bed40da822b (diff)
tmpfiles: add new "L+" command as stronger version of "L", that removes the destination before creating a symlink
Also, make use of this for mtab as long as mount insists on creating it even if we invoke it with "-n".
Diffstat (limited to 'man')
-rw-r--r--man/tmpfiles.d.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml
index 0081a6762a..2d8af981e9 100644
--- a/man/tmpfiles.d.xml
+++ b/man/tmpfiles.d.xml
@@ -174,7 +174,16 @@ L /tmp/foobar - - - - /dev/null</programlisting>
<varlistentry>
<term><varname>L</varname></term>
- <listitem><para>Create a symlink if it does not exist yet.</para></listitem>
+ <term><varname>L+</varname></term>
+ <listitem><para>Create a
+ symlink if it does not exist
+ yet. If suffixed with
+ <varname>+</varname> and a
+ file already exists where the
+ symlink is to be created it
+ will be removed and be
+ replaced by the
+ symlink.</para></listitem>
</varlistentry>
<varlistentry>