[systemd-devel] [PATCH] tmpfiles: don't apply --create to /dev twice during boot
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Wed Jul 24 06:49:01 PDT 2013
On Wed, Jul 24, 2013 at 03:32:55PM +0200, Tom Gundersen wrote:
> Instead allow negation in the prefix filtering, to restrict the
> second call to apply to everything but /dev:
>
> systemd-tmpfiles --prefix=!/dev --create --remove
It's unfortunate that ! is a shell meta character. Maybe
- would be better? This way when someone takes the line
from the unit file and executes it in their shell, they
won't be surprised by the shell messing up their command.
Zbyszek
More information about the systemd-devel
mailing list