chiark / gitweb /
udev: net-config - allow interface names to be set from the hwdb
[elogind.git] / man / udev.xml
index 1bf0b089e24359d85d189c7958aca08603f76070..c053a86d3e291fdc778c4dfc8d1a22df368918c9 100644 (file)
         <varlistentry>
           <term><varname>Driver</varname></term>
           <listitem>
-            <para>The driver currently bound to the device, as exposed by the udev property <literal>DRIVER</literal>.</para>
+            <para>The driver currently bound to the device, as exposed by the
+            udev property <literal>DRIVER</literal> of its parent device.</para>
           </listitem>
         </varlistentry>
         <varlistentry>
           <listitem>
             <para>An ordered, space-separated list of policies by which the
               interface name should be set. <literal>NamePolicy</literal> may
-              be disabeld by specifying <literal>net.ifnames=0</literal> on the
+              be disabled by specifying <literal>net.ifnames=0</literal> 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 <literal>ID_NET_NAME</literal>,
               which is, by default, used by a udev rule to set
               <literal>NAME</literal>. The available policies are:
             </para>
             <variablelist>
+              <varlistentry>
+                <term><literal>database</literal></term>
+                <listitem>
+                  <para>The name is set based on entries in the Hardware
+                    Database with the key
+                    <literal>ID_NET_NAME_FROM_DATABASE</literal>.
+                  </para>
+                </listitem>
+              </varlistentry>
               <varlistentry>
                 <term><literal>onboard</literal></term>
                 <listitem>