mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
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:
4 files changed
+28
-2
No files matched your search
@@ -34,6 +34,8 @@ All relevant changes are documented in this file.
|
||||
escapes, for a path with a space in it: `d "/srv/my files"`
|
||||
- tmpfiles: add the `~` modifier for `f`, `F`, and `w` entries, as in
|
||||
`f~`, where the argument is Base64, for a file with binary content
|
||||
- tmpfiles: add `--cat-config`, to show the files that would be read,
|
||||
each below a line with its name
|
||||
- tmpfiles: add `--prefix=PATH`, to only run the entries for paths below
|
||||
it. `--prefix` and `--exclude-prefix` match whole path components,
|
||||
`--exclude-prefix=/dev` no longer skips `/devices`
|
||||
|
||||
Reference in new issue
Block a user