X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fudev.xml;h=3dd2b489ff84531d9aefe9b739b9eaee251eeaa2;hp=9ea1cae4a3f81ba665a5dacaa76978251cbd980a;hb=4f50d2efbac87aba0505b9f998bf3e4bde64c214;hpb=bcddd5bf8033b0c9cb15a9d017b7714ebe21473a diff --git a/man/udev.xml b/man/udev.xml index 9ea1cae4a..3dd2b489f 100644 --- a/man/udev.xml +++ b/man/udev.xml @@ -255,7 +255,7 @@ 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 STDOUT + executed program in the environment. The program's standard ouput is available in the RESULT key. This can only be used for very short-running foreground tasks. For details, see RUN. @@ -799,13 +799,15 @@ Path - The persistent path, as exposed by the udev property ID_PATH. + The persistent path, as exposed by the udev property ID_PATH. + May contain shell style globs. Driver - The driver currently bound to the device, as exposed by the udev property DRIVER. + The driver currently bound to the device, as exposed by the + udev property DRIVER of its parent device. @@ -814,6 +816,35 @@ The device type, as exposed by the udev property DEVTYPE. + + Host + + Matches against the hostname or machine ID of the + host. See ConditionHost= in + systemd.unit5 + for details. + + + + Virtualization + + Checks whether the system is executed in a virtualized + environment and optionally test whether it is a specific + implementation. See ConditionVirtualization= in + systemd.unit5 + for details. + + + + KernelCommandLine + + Checks whether a specific kernel command line option is + set (or if prefixed with the exclamation mark unset). See + ConditionKernelCommandLine= in + systemd.unit5 + for details. + + The [Link] section accepts the following keys: @@ -874,14 +905,23 @@ An ordered, space-separated list of policies by which the interface name should be set. NamePolicy may - be disabeld by specifying net.ifnames=0 on the + be disabled by specifying net.ifnames=0 on the kernel commandline. Each of the policies may fail, and the first - successfull one is used. The name is not set directly, but + successful one is used. The name is not set directly, but is exported to udev as the property ID_NET_NAME, which is, by default, used by a udev rule to set NAME. The available policies are: + + database + + The name is set based on entries in the Hardware + Database with the key + ID_NET_NAME_FROM_DATABASE. + + + onboard