On Wed, 24.07.13 15:49, Zbigniew JÄ™drzejewski-Szmek ([email protected]) 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.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to