X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd.link.xml;h=bb3f908288093d3957c0272fefa07b50c74c2318;hp=1bee07cf1dfdaf351a987113f13610567eff1843;hb=bd763d350c7e8bf8b934bd45bc34ac35cdba2a63;hpb=dca348bcbb462305864526c587495a14a76bfcde diff --git a/man/systemd.link.xml b/man/systemd.link.xml index 1bee07cf1..bb3f90828 100644 --- a/man/systemd.link.xml +++ b/man/systemd.link.xml @@ -76,6 +76,10 @@ [Link] section specifying how the device should be configured. The first (in lexical order) of the link files that matches a given device is applied. + + + + [Match] Section Options A link file is said to match a device if each of the entries in the [Match] section matches, or if the section is empty. @@ -88,20 +92,32 @@ The hardware address. + + OriginalName= + + The device name, as exposed by the udev + property "INTERFACE". May contain shell style + globs. This can not be used to match on names + that have already been changed from userspace. + Caution is advised when matching on + kernel-assigned names, as they are known to + be unstable between reboots. + + Path= - The persistent path, as exposed by the - udev property ID_PATH. May - contain shell style globs. - + 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 - of its parent device, or if that is not set the + of its parent device, or if that is not set, the driver as exposed by ethtool -i of the device itself. @@ -156,6 +172,11 @@ + + + + [Link] Section Options + The [Link] section accepts the following keys: @@ -222,15 +243,25 @@ be set. NamePolicy may be disabled by specifying net.ifnames=0 on the kernel - commandline. Each of the policies may fail, and + command line. Each of the policies may fail, and the first 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: + NAME. If the name has already + been set by userspace, no renaming is performed. + The available policies are: + + kernel + + If the kernel claims that the name it + has set for a device is predictable, then + no renaming is performed. + + + database @@ -376,6 +407,12 @@ MACAddress=cb:a9:87:65:43:21 , udevadm8 + , + + systemd.netdev5 + , + + systemd.network5