X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev%2Fudev.xml;h=682cc3f959352b60ab1343340a4ac360a5c7b818;hb=1079014420da2e9f7e8db7cd2d892d8f8f8cedb0;hp=adf531b372e6146c9fb07353911084c6e55fdece;hpb=63749b1a5fc68a44024dc6a4299b04a1f5d437e8;p=elogind.git diff --git a/udev/udev.xml b/udev/udev.xml index adf531b37..682cc3f95 100644 --- a/udev/udev.xml +++ b/udev/udev.xml @@ -75,12 +75,13 @@ the custom rules directory /etc/udev/rules.d/ and the temporary rules directory /dev/.udev/rules.d/. All rule files are sorted and processed in lexical order, regardless - in which of these directories they live. + in which of these directories they live. Files in + /etc/udev/rules.d/ have precedence over files with + the same name in /lib/udev/rules.d/. This can be + used to ignore a default rules file if needed. - Rule files are required to have a unique name, duplicate file names - are ignored. Files in /etc/udev/rules.d/ have precedence - over files with 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. Every line in the rules file contains at least one key value pair. There are two kind of keys, match and assignment keys. @@ -437,6 +438,13 @@ by an earlier event. + + + + Import a single property from the kernel commandline. For simple flags + the value of the property will be set to '1'. + + @@ -458,7 +466,8 @@ Wait for a file to become available or until a 10 - seconds timeout expires. + seconds timeout expires. The path is relative to the sysfs device, + i. e. if no path is specified this waits for an attribute to appear. @@ -489,6 +498,16 @@ with this option. + + + + Apply the permissions specified in this rule to a static device node with + the specified name. Static device nodes might be provided by kernel modules, + or copied from /lib/udev/devices. These nodes might not have + a corresponding kernel device at the time udevd is started, and allow to trigger + automatic kernel module on-demand loading. + + @@ -496,6 +515,12 @@ writing, a change uevent will be synthesised. + + + + Disable the watching of a device node with inotify. + + @@ -554,8 +579,9 @@ The value of a sysfs attribute found at the device, where all keys of the rule have matched. If the matching device does not have - such an attribute, follow the chain of parent devices and use the value - of the first attribute that matches. + such an attribute, and a previous KERNELS, SUBSYSTEMS, DRIVERS, or + ATTRS test selected a parent device, use the attribute from that + parent device. If the attribute is a symlink, the last element of the symlink target is returned as the value.