[systemd-devel] [PATCH] tmpfiles: don't apply --create to /dev twice during boot

Tom Gundersen teg at jklm.no
Wed Jul 24 06:54:48 PDT 2013

On Wed, Jul 24, 2013 at 3:49 PM, Zbigniew Jędrzejewski-Szmek
<zbyszek at in.waw.pl> wrote:
> 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.

That's a good point. If no one objects to the overloading of "=-"
(which usually means 'suppress errors'), then I'm fine with using that
instead as the usual meaning of "=-" doesn't really make any sense in
this context.


More information about the systemd-devel mailing list