diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-09-11 13:25:21 +0200 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-09-13 08:46:04 -0400 |
commit | ffdc02f45bcc973249406b2c9bd996f8b27fa2a5 (patch) | |
tree | 5a61a2008512269266b5837b1ea228608a020aa4 /man | |
parent | skip udev: event - keep one rtnl per worker, rather than per event (diff) | |
download | eudev-ffdc02f45bcc973249406b2c9bd996f8b27fa2a5.tar.gz eudev-ffdc02f45bcc973249406b2c9bd996f8b27fa2a5.tar.bz2 eudev-ffdc02f45bcc973249406b2c9bd996f8b27fa2a5.zip |
udev: allow removing tags via TAG-="foobar"
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.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'man')
-rw-r--r-- | man/udev.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/man/udev.xml b/man/udev.xml index d4a5bedfd..0ecf683a2 100644 --- a/man/udev.xml +++ b/man/udev.xml @@ -116,6 +116,13 @@ </varlistentry> <varlistentry> + <term><literal>-=</literal></term> + <listitem> + <para>Remove the value from a key that holds a list of entries.</para> + </listitem> + </varlistentry> + + <varlistentry> <term><literal>:=</literal></term> <listitem> <para>Assign a value to a key finally; disallow any later changes.</para> |