mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 18:55:40 +03:00
man: add a bit of a warning to systemd-tmpfiles --purge
Mention that by default, /home is managed by tmpfiles.d/home.conf, and recommend that users run systemd-tmpfiles --dry-run --purge first to see exactly what will be removed.
This commit is contained in:
parent
7d9a8cc4ac
commit
9ebcac3b51
@ -150,7 +150,11 @@
|
||||
<varlistentry>
|
||||
<term><option>--purge</option></term>
|
||||
<listitem><para>If this option is passed, all files and directories created by a
|
||||
<filename>tmpfiles.d/</filename> entry will be deleted.</para>
|
||||
<filename>tmpfiles.d/</filename> entry will be deleted. Keep in mind that by default,
|
||||
<filename>/home</filename> is created by <command>systemd-tmpfiles</command>
|
||||
(see <filename>/usr/lib/tmpfiles.d/home.conf</filename>). Therefore it is recommended
|
||||
to first run <command>systemd-tmpfiles --dry-run --purge</command> to be certain which files
|
||||
and directories will be deleted.</para>
|
||||
|
||||
<xi:include href="version-info.xml" xpointer="v256"/></listitem>
|
||||
</varlistentry>
|
||||
|
Loading…
Reference in New Issue
Block a user