summaryrefslogtreecommitdiff
path: root/udev.8.in
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-06-14 13:28:24 +0200
committerKay Sievers <kay.sievers@suse.de>2005-06-14 13:28:24 +0200
commit0fa98832b5be9893e1b26252c20b68d730b77173 (patch)
tree6feb5801ac6efbdeb3c5c0f533d69a1cb611f0e0 /udev.8.in
parent60d7b201008edb3c6d9226ef336c7ae0daa5742f (diff)
udev man page: add operators
Patch from: Hannes Reinecke <hare@suse.de> Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev.8.in')
-rw-r--r--udev.8.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/udev.8.in b/udev.8.in
index e4c1c11af2..b4edd5aebd 100644
--- a/udev.8.in
+++ b/udev.8.in
@@ -104,6 +104,36 @@ Every rule consists of a list of comma separated key value fields:
.sp
.IR "key " ,[ "key " ,...]
.P
+Each key has the following format:
+.sp
+.IR "name op value"
+.P
+There are distinct key operation types, depending on the type of the key, it
+does a comparison or an assignment.
+.P
+Comparison operators are:
+.TP
+.B ==
+Compare for equality.
+.TP
+.B !=
+Compare for non-equality.
+.P
+Assignment operators are:
+.TP
+.B +=
+Add the value to a key that holds a list of entries.
+.TP
+.B :=
+Assign a value to a key finally; disallow any later changes, which
+is useful to prevent changes by any later rules.
+.TP
+.B =
+Asign a value to a key. Keys that represent a list, are reset and only this
+single value is assigned. While this operator still works inplicitely as
+comparison on keys that can't get a value assigned, its usage as an comparison
+operator is deprecated.
+.P
The following key names can be used to match against device properties:
.TP
.B BUS