tmpfiles: make t and a globby, add their recursive versions T and A

System Internals / systemd - Zbigniew Jędrzejewski-Szmek [in.waw.pl] - 22 January 2015 00:14 UTC

For types which adapt existing files it is generally more useful to accept globs.

In analogy to z and Z, add recursive versions using uppercase letters.

Technically, making a accept globs is backwards incompatible, but in practice it probably isn't yet widely used and we can assume that most people don't create files with wildcards in names.

Functions which are used as callbacks, but not directly on items, are renamed not to have "item_" prefix.

b705ab6 tmpfiles: make t and a globby, add their recursive versions T and A
man/tmpfiles.d.xml | 31 +++++++++++++++++++++-----
src/tmpfiles/tmpfiles.c | 57 +++++++++++++++++++++++++++++++++--------------
2 files changed, 65 insertions(+), 23 deletions(-)

Upstream: github.com


  • Share