X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev%2Fudev.xml;h=2fc72ca91a60bd167c1135d8f8b9ff44ad5bc9d2;hb=17fd0f60f2735cbe1bb79ba55fed55291dd61fd2;hp=6085dfff24e4db76170548854e068657d556147a;hpb=83184d008ba23724fd30996440534c0633a0d0aa;p=elogind.git diff --git a/udev/udev.xml b/udev/udev.xml index 6085dfff2..2fc72ca91 100644 --- a/udev/udev.xml +++ b/udev/udev.xml @@ -27,22 +27,22 @@ names provide a way to reliably identify devices based on their properties or current configuration. - The udev daemon udevd - 8 receives device uevents directly from + The udev daemon, udevd + 8, receives device uevents directly from the kernel whenever a device is added or removed from the system, or it changes its state. When udev receives a device event, it matches its configured set of rules - against various device attributes to identify the device. Rules that match, may - provide additional device information to be stored in the udev database, or information + against various device attributes to identify the device. Rules that match may + provide additional device information to be stored in the udev database or to be used to create meaningful symlink names. - All device information udev processes, is stored in the udev database and + All device information udev processes is stored in the udev database and sent out to possible event subscribers. Access to all stored data and the event - sources are provided by the library libudev. + sources is provided by the library libudev. Configuration udev configuration files are placed in /etc/udev/ - and /lib/udev/. All empty lines, or lines beginning with + and /lib/udev/. All empty lines or lines beginning with '#' will be ignored. Configuration file @@ -73,7 +73,7 @@ The udev rules are read from the files located in the default rules directory /lib/udev/rules.d/, the custom rules directory /etc/udev/rules.d/ - and the temporary rules directory /dev/.udev/rules.d/. + and the temporary rules directory /run/udev/rules.d/. All rule files are sorted and processed in lexical order, regardless in which of these directories they live. Files in /etc/udev/rules.d/ have precedence over files with @@ -113,7 +113,7 @@ - Assign a value to a key. Keys that represent a list, are reset + Assign a value to a key. Keys that represent a list are reset and only this single value is assigned. @@ -309,7 +309,7 @@ The name, a network interface should be renamed to. Or as - a temporary workaraound, the name a device node should be named. + a temporary workaround, the name a device node should be named. Usually the kernel provides the defined node name, or even creates and removes the node before udev even receives any event. Changing the node name from the kernel's default creates inconsistencies @@ -383,10 +383,7 @@ device. This can only be used for very short running tasks. Running an event process for a long period of time may block all further events for this or a dependent device. Long running tasks need to be immediately - detached from the event process itself. If the option - is - specified, and the executed program returns non-zero, the event will be - marked as failed for a possible later handling. + detached from the event process itself. If no absolute path is given, the program is expected to live in /lib/udev, otherwise the absolute path must be specified. Program name and arguments are separated by spaces. Single quotes @@ -466,7 +463,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. @@ -485,7 +483,7 @@ - Number of seconds an event will wait for operations to finish, before it + Number of seconds an event will wait for operations to finish before it will terminate itself. @@ -501,10 +499,10 @@ 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, + 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. + a corresponding kernel device at the time udevd is started; they can trigger + automatic kernel module loading. @@ -576,7 +574,7 @@ , - The value of a sysfs attribute found at the device, where + 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, and a previous KERNELS, SUBSYSTEMS, DRIVERS, or ATTRS test selected a parent device, use the attribute from that