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

Tom Gundersen teg at jklm.no
Wed Jul 24 07:15:09 PDT 2013

On Wed, Jul 24, 2013 at 4:09 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Wed, 24.07.13 15:49, 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.
> I'd much rather prefer --exclude-prefix=.
> Magic chars generaly suck. Sometimes that's acceptible to keep the
> number of options down, but I don't think this applies in this case, do
> just add an explicit option, please.

Yeah, I agree it makes more sens. Will push later tonight.


More information about the systemd-devel mailing list