[systemd-devel] [PATCH RFC] udev: allow removing tags via TAG-="foobar"

David Herrmann dh.herrmann at gmail.com
Thu Sep 11 06:25:35 PDT 2014


Hi

On Thu, Sep 11, 2014 at 1:28 PM, David Herrmann <dh.herrmann at gmail.com> wrote:
> This extends the udev parser to support OP_REMOVE (-=) and adds support
> for TAG-= to remove previously set tags. We don't fail if the tag didn't
> exist.
>
> This is pretty handy if we ship default rules for seat-assignments and
> users want to exclude specific devices from that. They can easily add
> rules that drop any automatically added "seat" tags again.
>
> This patch is untested! Comments welcome.

I fixed up a bug in the udev-parser, tested the patch and pushed it upstream.

Thanks
David


More information about the systemd-devel mailing list