]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: document udevadm info output prefixes
authorLennart Poettering <lennart@poettering.net>
Wed, 26 May 2021 08:54:57 +0000 (10:54 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 26 May 2021 11:46:51 +0000 (12:46 +0100)
Fixes: #19663
man/udevadm.xml

index b731f808bc990bc0164aada2645108ffe37d4e09..9f89783521fb3e543e33e131049cdfd8a1a5d49d 100644 (file)
 
         <xi:include href="standard-options.xml" xpointer="help" />
       </variablelist>
+
+      <para>The generated output shows the current device database entry in a terse format. Each line shown
+      is prefixed with one of the following characters:</para>
+
+      <table>
+        <title><command>udevadm info</command> output prefixes</title>
+        <tgroup cols='2' align='left' colsep='1' rowsep='1'>
+          <colspec colname="prefix" />
+          <colspec colname="meaning" />
+          <thead>
+            <row>
+              <entry>Prefix</entry>
+              <entry>Meaning</entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry><literal>P:</literal></entry>
+              <entry>Device path in <filename>/sys/</filename></entry>
+            </row>
+            <row>
+              <entry><literal>N:</literal></entry>
+              <entry>Kernel device node name</entry>
+            </row>
+            <row>
+              <entry><literal>L:</literal></entry>
+              <entry>Device node symlink priority</entry>
+            </row>
+            <row>
+              <entry><literal>S:</literal></entry>
+              <entry>Device node symlink</entry>
+            </row>
+            <row>
+              <entry><literal>E:</literal></entry>
+              <entry>Device property</entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </table>
     </refsect2>
 
     <refsect2><title>udevadm trigger