X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev%2Fudev.xml;h=d2277c93d0d60e3b4b84ba3138237968ff9f5826;hb=6d80a7e83f55c7319d1cb9b0a9910a005b2f4103;hp=175cdbec6b4de58b2e37616bb363845fa1939fd5;hpb=5539f624e18e948e4e3a1f0d9f5d25de9c8fd8b8;p=elogind.git diff --git a/udev/udev.xml b/udev/udev.xml index 175cdbec6..d2277c93d 100644 --- a/udev/udev.xml +++ b/udev/udev.xml @@ -237,6 +237,13 @@ + + + + Match against a device tag. + + + @@ -297,8 +304,13 @@ - The name of the node to be created, or the name the network interface - should be renamed to. + The name, a network interface should be renamed to, or 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 receives + any event. Changing the node name from the kernel's default may result + in unexpected behavior and is not supported. Udev is only expected to + handle device node permissions and to create additional symlinks, which + do not conflict with the kernel device node names. @@ -306,9 +318,16 @@ The name of a symlink targeting the node. Every matching rule will add - this value to the list of symlinks to be created along with the device node. + this value to the list of symlinks to be created along with the device node. Multiple symlinks may be specified by separating the names by the space - character. + character. In case multiple devices claim the same name, the link will + always point to the device with the highest link_priority. If the current device + goes away, the links will be re-evaluated and the device with the next highest + link_priority will own the link. If no link_priority is specified, the order + of the devices, and which of them will own the link, is undefined. Claiming + the same name for a node and links may result in unexpected behavior and is + not supported. + @@ -336,6 +355,19 @@ + + + + Attach a tag to a device. This is used to filter events for users + of libudev's monitor functionality, or to enumerate a group of tagged + devices. The implementation can only work efficiently if only a few + tags are attached to a device. It is only meant to be used in + contexts with specific device filter requirements, and not as a + general-purpose flag. Excessive use might result in inefficient event + handling. + + + @@ -426,7 +458,8 @@ - Wait for a file to become available. + Wait for a file to become available or until a 10 + seconds timeout expires. @@ -435,13 +468,6 @@ Rule and device options: - - - - Do not remove the device node when the device goes away. This may be - useful as a workaround for broken device drivers. - - @@ -449,14 +475,6 @@ priorities overwrite existing symlinks of other devices. The default is 0. - - - - Create the device nodes for all available partitions of a block device. - This may be useful for removable media devices where media changes are not - detected. - - @@ -476,7 +494,7 @@ Watch the device node with inotify, when closed after being opened for - writing, a change uevent will be synthesised. + writing, a change uevent will be synthesised.