summaryrefslogtreecommitdiff
path: root/man/udev.xml
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-09-11 13:25:21 +0200
committerAnthony G. Basile <blueness@gentoo.org>2014-09-13 08:46:04 -0400
commitffdc02f45bcc973249406b2c9bd996f8b27fa2a5 (patch)
tree5a61a2008512269266b5837b1ea228608a020aa4 /man/udev.xml
parent0dc651610248c873e584cbe8afb9495241cdb622 (diff)
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/udev.xml')
-rw-r--r--man/udev.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/man/udev.xml b/man/udev.xml
index d4a5bedfdd..0ecf683a28 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>