mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +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.
(cherry picked from commit 9ebcac3b51
)
This commit is contained in:
parent
3706b5e8e9
commit
aedeaf7450
@ -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