summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-04-26 16:40:01 +0200
committerGitHub <noreply@github.com>2023-04-26 16:40:01 +0200
commit1db4acbe5d78a6337ffb163d9bd12eabac2fdda4 (patch)
treeb8de8842cea4e416e5f98418116fef011735db5c /man
parent0f566980795b002776ee86add17fa794699120d3 (diff)
parenta101d91988a889e2c9f4b661a4d290d21fc4d77e (diff)
downloadsystemd-1db4acbe5d78a6337ffb163d9bd12eabac2fdda4.tar.gz
Merge pull request #27398 from yuwata/udev-rule-negative-match
udev-rule: fix negative match
Diffstat (limited to 'man')
-rw-r--r--man/udev.xml15
1 files changed, 9 insertions, 6 deletions
diff --git a/man/udev.xml b/man/udev.xml
index 142f295f3e..332c7ac096 100644
--- a/man/udev.xml
+++ b/man/udev.xml
@@ -186,10 +186,10 @@
<varlistentry>
<term><varname>SYMLINK</varname></term>
<listitem>
- <para>Match the name of a symlink targeting the node. It can
- be used once a SYMLINK key has been set in one of the preceding
- rules. There may be multiple symlinks; only one needs to match.
- </para>
+ <para>Match the name of a symlink targeting the node. It can be used once a SYMLINK key has
+ been set in one of the preceding rules. There may be multiple symlinks; only one needs to
+ match. If the operator is <literal>!=</literal>, the token returns true only if there is no
+ symlink matched.</para>
</listitem>
</varlistentry>
@@ -287,14 +287,17 @@
<varlistentry>
<term><varname>TAG</varname></term>
<listitem>
- <para>Match against a device tag.</para>
+ <para>Match against one of device tags. It can be used once a TAG key has been set in one of
+ the preceding rules. There may be multiple tags; only one needs to match. If the operator is
+ <literal>!=</literal>, the token returns true only if there is no tag matched.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>TAGS</varname></term>
<listitem>
- <para>Search the devpath upwards for a device with matching tag.</para>
+ <para>Search the devpath upwards for a device with matching tag. If the operator is
+ <literal>!=</literal>, the token returns true only if there is no tag matched.</para>
</listitem>
</varlistentry>