X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev%2Fudev.xml;h=74917e15472dabd38030b7fdfe9ad17712c9b223;hp=3bf7ee8ec556a759be2a4b10c09a6e5138079528;hb=2e7f69ebbffdddf2933a2f350a8e973bfa08a880;hpb=d4a7bf2583f004e23452ca84ce2e11b7be819529 diff --git a/udev/udev.xml b/udev/udev.xml index 3bf7ee8ec..74917e154 100644 --- a/udev/udev.xml +++ b/udev/udev.xml @@ -80,20 +80,20 @@ the same name in /lib/udev/rules.d/; this can be used to ignore a default rules file if needed. - Rule files must end in .rules, other extensions - are ignored. + 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. @@ -508,7 +507,7 @@ - Watch the device node with inotify, when closed after being opened for + Watch the device node with inotify; when closed after being opened for writing, a change uevent is synthesised.