X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev%2Fudev.xml;h=c9083446edfed21f1e59acad599cfed228a12b77;hb=2e9820e374b3f849cc120b10ab2db6053ce03dc2;hp=d777570eb8113ddacd4d1311aaf1f4cdc6dbd468;hpb=c3cba32f18fc73e94975692fa1e68f1db2acf4fc;p=elogind.git
diff --git a/udev/udev.xml b/udev/udev.xml
index d777570eb..c9083446e 100644
--- a/udev/udev.xml
+++ b/udev/udev.xml
@@ -83,17 +83,17 @@
Rule files must have the extension .rules; other
extensions are ignored.
- Every line in the rules file contains at least one key value pair.
- There are two kind of keys, match and assignment keys.
+ Every line in the rules file contains at least one key-value pair.
+ There are two kind of keys: match and assignment.
If all match keys are matching against its value, the rule gets applied and the
- assign keys get the specified value assigned.
+ assignment keys get the specified value assigned.A matching rule may rename a network interface, add symlinks
pointing to the device node, or run a specified program as part of
the event handling.
- A rule consists of a list of one or more key value pairs separated by
- a comma. Each key has a distinct operation, depending on the used operator. Valid
+ A rule consists of a comma-separated list of one or more key-value pairs.
+ Each key has a distinct operation, depending on the used operator. Valid
operators are:
@@ -128,8 +128,7 @@
- Assign a value to a key finally; disallow any later changes,
- which may be used to prevent changes by any later rules.
+ Assign a value to a key finally; disallow any later changes.
@@ -189,7 +188,7 @@
- Match the driver name of the event device. Only set for devices
+ Match the driver name of the event device. Only set this key for devices
which are bound to a driver at the time the event is generated.
@@ -197,8 +196,8 @@
Match sysfs attribute values of the event device. Trailing
- whitespace in the attribute values is ignored, if the specified match
- value does not contain trailing whitespace itself.
+ whitespace in the attribute values is ignored unless the specified match
+ value itself contains trailing whitespace.
@@ -229,8 +228,8 @@
Search the devpath upwards for a device with matching sysfs attribute values.
If multiple matches are specified, all of them
- must match on the same device. Trailing whitespace in the attribute values is ignored,
- if the specified match value does not contain trailing whitespace itself.
+ must match on the same device. Trailing whitespace in the attribute values is ignored
+ unless the specified match value itself contains trailing whitespace.
@@ -259,10 +258,11 @@
- Execute a program. The key is true, if the program returns
+ Execute a program to determine whether there
+ is a match; the key is true if the program returns
successfully. The device properties are made available to the
- executed program in the environment. The program's output printed to
- stdout, is available in the RESULT key.
+ executed program in the environment. The program's stdout
+ is available in the RESULT key.