X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fudev.xml;h=0e75715887088686f6f135ed6b4b2d62b7c47f97;hb=c8f57f5963970013b4134f0e4ee58cb590c60338;hp=9ea1cae4a3f81ba665a5dacaa76978251cbd980a;hpb=bcddd5bf8033b0c9cb15a9d017b7714ebe21473a;p=elogind.git diff --git a/man/udev.xml b/man/udev.xml index 9ea1cae4a..0e7571588 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. @@ -790,49 +790,89 @@ - MACAddress + MACAddress= The hardware address. - Path + 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 + 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. - Type + Type= 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. + + + + Architecture= + + Checks whether the system is running on a specific + architecture. See ConditionArchitecture= in + systemd.unit5 + for details. + + The [Link] section accepts the following keys: - Description + Description= A description of the device. - Alias + Alias= The ifalias is set to this value. - MACAddressPolicy + MACAddressPolicy= The policy by which the MAC address should be set. The available policies are: @@ -862,26 +902,35 @@ - MACAddress + MACAddress= - The MAC address to use, if no MACAddressPolicy + The MAC address to use, if no MACAddressPolicy= is specified. - NamePolicy + NamePolicy= 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 @@ -922,28 +971,28 @@ - Name + Name= The interface name to use in case all the policies specified - in NamePolicy fail, or in case - NamePolicy is missing or disabled. + in NamePolicy= fail, or in case + NamePolicy= is missing or disabled. - MTU + MTU= The MTU to set for the device. - SpeedMBytes + SpeedMBytes= The speed to set for the device. - Duplex + Duplex= The duplex mode to set for the device. The accepted values are half and full. @@ -951,7 +1000,7 @@ - WakeOnLan + WakeOnLan= The Wake-on-LAN policy to set for the device. The supported values are: