mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
tmpfiles: make a directory for v, q, and Q entries
Files from distributions use v, q, and Q for directories that should
be btrfs subvolumes when that is possible:
v /var/lib/machines 0700 - - -
tmpfiles skipped them as unsupported, so the directory was missing.
On a file system without subvolumes tmpfiles.d(5) has them make a
plain directory. Do that everywhere, read them as d.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
4 files changed
+23
-12
No files matched your search
+4
-12
@@ -21,15 +21,7 @@ user to call it from cron.
|
||||
glob in the path is not cleaned
|
||||
|
||||
|
||||
2. Subvolumes
|
||||
-------------
|
||||
|
||||
`v`, `q`, and `Q` are skipped as unsupported. systemd makes a plain
|
||||
directory when the file system is not btrfs, doing the same gets
|
||||
distribution files with these entries to work.
|
||||
|
||||
|
||||
3. Specifiers
|
||||
2. Specifiers
|
||||
-------------
|
||||
|
||||
A path with `%` in it is skipped, also the escaped `%%`. The ones that
|
||||
@@ -39,7 +31,7 @@ and `%V`. This is the largest gap for using such files unchanged, and
|
||||
the most work.
|
||||
|
||||
|
||||
4. Remaining types and modifiers
|
||||
3. Remaining types and modifiers
|
||||
--------------------------------
|
||||
|
||||
* `L?`, and `C+`, which is read as `C`
|
||||
@@ -50,7 +42,7 @@ the most work.
|
||||
* Quoted paths, a path with a space in it cannot be written
|
||||
|
||||
|
||||
5. Command line
|
||||
4. Command line
|
||||
---------------
|
||||
|
||||
Missing options: `--prefix`, `--root`, `--replace`, `--dry-run`,
|
||||
@@ -59,7 +51,7 @@ is the useful one, for packages that run `tmpfiles --create` on only
|
||||
their own paths.
|
||||
|
||||
|
||||
6. Smaller things
|
||||
5. Smaller things
|
||||
------------------
|
||||
|
||||
* Files are processed one directory at a time. tmpfiles.d(5) sorts
|
||||
|
||||
Reference in new issue
Block a user