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

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Fri Sep 12 03:17:17 PDT 2014


On Thu, 2014-09-11 at 15:25 +0200, David Herrmann wrote:
> 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.

Great! I'll let you know if I have any trouble with the patch.

-- 
Tanu



More information about the systemd-devel mailing list