From: Nick Rosbrook Date: Fri, 14 Jun 2024 21:31:22 +0000 (-0400) Subject: man: add a bit of a warning to systemd-tmpfiles --purge X-Git-Tag: v256.1~22 X-Git-Url: http://git-history.diyao.me/?a=commitdiff_plain;h=aedeaf745028a463150fd6d2b1aca778797735ac;p=systemd%2F.git 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 9ebcac3b5125a8b0b11f371731ea167cd4684adc) --- diff --git a/man/systemd-tmpfiles.xml b/man/systemd-tmpfiles.xml index 008bff62da..6f3ec66611 100644 --- a/man/systemd-tmpfiles.xml +++ b/man/systemd-tmpfiles.xml @@ -150,7 +150,11 @@ If this option is passed, all files and directories created by a - tmpfiles.d/ entry will be deleted. + tmpfiles.d/ entry will be deleted. Keep in mind that by default, + /home is created by systemd-tmpfiles + (see /usr/lib/tmpfiles.d/home.conf). Therefore it is recommended + to first run systemd-tmpfiles --dry-run --purge to be certain which files + and directories will be deleted.