diff options
author | Tom Gundersen <teg@jklm.no> | 2014-07-15 17:57:43 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-08-08 13:30:15 +0200 |
commit | 04b67d49254d956d31bcfe80340fb9df7ed332d3 (patch) | |
tree | e47d05d843be4c37d8aec5872e4848b9ab17c6a8 /man/systemd.link.xml | |
parent | f3fc48150bb443f5b4623a819ebc2b39971a4f66 (diff) | |
download | systemd-04b67d49254d956d31bcfe80340fb9df7ed332d3.tar.gz |
udev: link_setup - respect kernel name assign policy
Newer kernels export meta-information about the origin of an ifname. Respect this
from the ifname rename logic. We do not rename any interfaces that was originally
named by userspace, nor once which have already been renamed from userspace.
Moreover, we optionally do not (the default) rename interfaces which the kernel
claims to have named in a predictable way.
Diffstat (limited to 'man/systemd.link.xml')
-rw-r--r-- | man/systemd.link.xml | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/man/systemd.link.xml b/man/systemd.link.xml index 05effc3b71..6075b39b79 100644 --- a/man/systemd.link.xml +++ b/man/systemd.link.xml @@ -236,11 +236,21 @@ not set directly, but is exported to udev as the property <literal>ID_NET_NAME</literal>, which is, by default, used by a udev rule to set - <literal>NAME</literal>. The available policies - are:</para> + <literal>NAME</literal>. If the name has already + been set by userspace, no renaming is performed. + The available policies are:</para> <variablelist> <varlistentry> + <term><literal>kernel</literal></term> + <listitem> + <para>If the kernel claims that the name it + has set for a device is predictable, then + no renaming is performed. + </para> + </listitem> + </varlistentry> + <varlistentry> <term><literal>database</literal></term> <listitem> <para>The name is set based on entries in |