X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fudev.xml;h=95b37fd0cfdee7e5d5cb819baa25ac7631b54fd9;hb=5556b5fe41173107a67dbe875fbd916a46e52a02;hp=da4ff220b92d8cc4b77c1a44a1ec33cd5a332f5b;hpb=66f756d437658cc464bfb5647c97efd0cf77f933;p=elogind.git diff --git a/man/udev.xml b/man/udev.xml index da4ff220b..95b37fd0c 100644 --- a/man/udev.xml +++ b/man/udev.xml @@ -790,49 +790,91 @@ - 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, or if + that is not set the driver as exposed by ethtool -i + of the device itself. - 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 +904,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 disabeled 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 +973,33 @@ - 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 + MTUBytes= - The MTU to set for the device. + The maximum transmission unit in bytes to set for + the device. The usual suffixes K, M, G, are supported and + are understood to the base of 1024. - SpeedMBytes + BitsPerSecond= - The speed to set for the device. + The speed to set for the device, the value is + rounded down to the nearest Mbps. The usual suffixes K, M, + G, are supported and are understood to the base of + 1000. - Duplex + Duplex= The duplex mode to set for the device. The accepted values are half and full. @@ -951,7 +1007,7 @@ - WakeOnLan + WakeOnLan= The Wake-on-LAN policy to set for the device. The supported values are: