tmpfiles: add --cat-config, to show the files that would be read

With files in five directories, where one in /etc replaces the one
with the same name in /usr/lib, it is not easy to tell what tmpfiles
goes by.  systemd-tmpfiles has --cat-config for this.

Add the option.  It prints each file that would be read below a line
with its name, and exits:

    /libexec/finit/tmpfiles --cat-config

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2026-11-21 17:14:02 +01:00
1 parent 09dcf91877
commit 6b5a8e0386
4 files changed
+28 -2

No files matched your search

+1 -2
View File
@@ -22,8 +22,7 @@ files or common packages already rely on, last what few will miss.
2. Command line
---------------
Missing options: `--root`, `--replace`, `--purge`, `--graceful`, and
`--cat-config`.
Missing options: `--root`, `--replace`, `--purge`, and `--graceful`.
3. Smaller things