Skip to content

Commit 9ebcac3

Browse files
enr0nbluca
authored andcommitted
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.
1 parent 7d9a8cc commit 9ebcac3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

man/systemd-tmpfiles.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,11 @@
150150
<varlistentry>
151151
<term><option>--purge</option></term>
152152
<listitem><para>If this option is passed, all files and directories created by a
153-
<filename>tmpfiles.d/</filename> entry will be deleted.</para>
153+
<filename>tmpfiles.d/</filename> entry will be deleted. Keep in mind that by default,
154+
<filename>/home</filename> is created by <command>systemd-tmpfiles</command>
155+
(see <filename>/usr/lib/tmpfiles.d/home.conf</filename>). Therefore it is recommended
156+
to first run <command>systemd-tmpfiles --dry-run --purge</command> to be certain which files
157+
and directories will be deleted.</para>
154158

155159
<xi:include href="version-info.xml" xpointer="v256"/></listitem>
156160
</varlistentry>

0 commit comments

Comments
 (0)