chiark / gitweb /
man page: document when substitutions are applied for RUN and other keys
[elogind.git] / docs / udev.xml
index ab8174e6a9649b31361182590e6b5de47679c68a..e0542a6be199048f024550dd784835bb17a47a6a 100644 (file)
@@ -27,7 +27,7 @@
 
       <refmeta>
         <refentrytitle>udev</refentrytitle>
-        <manvolnum>8</manvolnum>
+        <manvolnum>7</manvolnum>
       </refmeta>
 
       <refnamediv>
           </variablelist>
 
           <para>The <option>NAME</option>, <option>SYMLINK</option>, <option>PROGRAM</option>,
-          <option>OWNER</option>  and  <option>GROUP</option>  fields  support  simple
-          printf-like string substitutions:</para>
+          <option>OWNER</option>, <option>GROUP</option>  and  <option>RUN</option>
+          fields support simple printf-like string substitutions. The <option>RUN</option>
+          format chars gets applied after all rules have been processed, right before the program
+          is executed. It allows the use of the complete environment set by earlier matching
+          rules. For all other fields, substitutions are applied while the individual rule is
+          being processed. The available substitutions are:</para>
           <variablelist>
             <varlistentry>
               <term><option>$kernel</option>, <option>%k</option></term>
       <refsect1>
         <title>SEE ALSO</title>
         <para><citerefentry>
-            <refentrytitle>udev</refentrytitle><manvolnum>8</manvolnum>
+            <refentrytitle>udevd</refentrytitle><manvolnum>8</manvolnum>
           </citerefentry>, 
           <citerefentry>
             <refentrytitle>udevinfo</refentrytitle><manvolnum>8</manvolnum>
           </citerefentry>, 
-          <citerefentry>
-            <refentrytitle>udevd</refentrytitle><manvolnum>8</manvolnum>
-          </citerefentry>, 
           <citerefentry>
             <refentrytitle>udevmonitor</refentrytitle><manvolnum>8</manvolnum>
         </citerefentry></para>