r6762 - in branches/cross-lfs/BOOK: final-system/common final-system/multilib introduction/common

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sat Aug 27 04:00:32 PDT 2005


Author: manuel
Date: 2005-08-27 05:00:28 -0600 (Sat, 27 Aug 2005)
New Revision: 6762

Modified:
   branches/cross-lfs/BOOK/final-system/common/udev.xml
   branches/cross-lfs/BOOK/final-system/multilib/udev.xml
   branches/cross-lfs/BOOK/introduction/common/changelog.xml
Log:
Install Udev's documentation. Fixed list of installed programs.

Modified: branches/cross-lfs/BOOK/final-system/common/udev.xml
===================================================================
--- branches/cross-lfs/BOOK/final-system/common/udev.xml	2005-08-27 10:39:48 UTC (rev 6761)
+++ branches/cross-lfs/BOOK/final-system/common/udev.xml	2005-08-27 11:00:28 UTC (rev 6762)
@@ -45,11 +45,6 @@
   <sect2 role="installation">
     <title>Installation of Udev</title>
 
-    <para os="a">Fix an incorrect assumption in the Udev testsuite regarding the
-    location of the <command>test</command> binary:</para>
-
-<screen os="b"><userinput>sed -i -e 's@/usr/bin/test@/bin/test@' test/udev-test.pl</userinput></screen>
-
     <para os="c">Compile the package:</para>
 
 <screen><userinput>make udevdir=/dev</userinput></screen>
@@ -79,6 +74,11 @@
 
 <screen os="i"><userinput>cp ../&udev-config-file; /etc/udev/rules.d/25-lfs.rules</userinput></screen>
 
+    <para os="a">Install the documentation that explains how to create
+    Udev rules:</para>
+
+<screen os="b"><userinput>install -m644 -D docs/writing_udev_rules/index.html /usr/share/doc/udev-&udev-version;/index.html</userinput></screen>
+
     <para os="j">Run the <command>udevstart</command> program to create our full
     complement of device nodes.</para>
 
@@ -94,7 +94,8 @@
       <segtitle>Installed directory</segtitle>
 
       <seglistitem>
-        <seg>udev, udevd, udevsend, udevstart, udevinfo, and udevtest</seg>
+        <seg>udev, udevcontrol, udevd, udevinfo, udevmonitor, udevsend,
+        udevstart and udevtest</seg>
         <seg>/etc/udev</seg>
       </seglistitem>
     </segmentedlist>
@@ -110,30 +111,69 @@
           <para>Creates device nodes in <filename
           class="directory">/dev</filename> or renames network interfaces (not
           in LFS) in response to hotplug events</para>
-            <indexterm zone="ch-system-udev udev">
-          <primary sortas="b-udev">udev</primary>
-        </indexterm>
-      </listitem></varlistentry>
+          <indexterm zone="ch-system-udev udev">
+            <primary sortas="b-udev">udev</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
+      <varlistentry id="udevcontrol">
+        <term><command>udevcontrol</command></term>
+        <listitem>
+          <para>Configures a number of options for the running
+          <command>udevd</command> daemon, such as the log level.</para>
+          <indexterm zone="ch-system-udev udevcontrol">
+            <primary sortas="b-udevcontrol">udevcontrol</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
       <varlistentry id="udevd">
         <term><command>udevd</command></term>
         <listitem>
           <para>A daemon that reorders hotplug events before submitting them to
           <command>udev</command>,
           thus avoiding various race conditions</para>
-            <indexterm zone="ch-system-udev udevd">
-          <primary sortas="b-udevd">udevd</primary>
-        </indexterm>
-      </listitem></varlistentry>
+          <indexterm zone="ch-system-udev udevd">
+            <primary sortas="b-udevd">udevd</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
+      <varlistentry id="udevinfo">
+        <term><command>udevinfo</command></term>
+        <listitem>
+          <para>Allows users to query the <command>udev</command> database for
+          information on any device currently present on the system; it also
+          provides a way to query any device in the <systemitem
+          class="filesystem">sysfs</systemitem> tree to help create udev
+          rules</para>
+          <indexterm zone="ch-system-udev udevinfo">
+            <primary sortas="b-udevinfo">udevinfo</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="udevmonitor">
+        <term><command>udevmonitor</command></term>
+        <listitem>
+          <para>Prints the event received from the kernel and the event which
+          <command>udev</command> sends out after rule processing</para>
+          <indexterm zone="ch-system-udev udevmonitor">
+            <primary sortas="b-udevmonitor">udevmonitor</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
       <varlistentry id="udevsend">
         <term><command>udevsend</command></term>
         <listitem>
           <para>Delivers hotplug events to <command>udevd</command></para>
-            <indexterm zone="ch-system-udev udevsend">
-          <primary sortas="b-udevsend">udevsend</primary>
-        </indexterm>
-      </listitem></varlistentry>
+          <indexterm zone="ch-system-udev udevsend">
+            <primary sortas="b-udevsend">udevsend</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
       <varlistentry id="udevstart">
         <term><command>udevstart</command></term>
@@ -150,20 +190,6 @@
         </listitem>
       </varlistentry>
 
-      <varlistentry id="udevinfo">
-        <term><command>udevinfo</command></term>
-        <listitem>
-          <para>Allows users to query the <command>udev</command> database for
-          information on any device currently present on the system; it also
-          provides a way to query any device in the <systemitem
-          class="filesystem">sysfs</systemitem> tree to help create udev
-          rules</para>
-          <indexterm zone="ch-system-udev udevinfo">
-            <primary sortas="b-udevinfo">udevinfo</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
       <varlistentry id="udevtest">
         <term><command>udevtest</command></term>
         <listitem>

Modified: branches/cross-lfs/BOOK/final-system/multilib/udev.xml
===================================================================
--- branches/cross-lfs/BOOK/final-system/multilib/udev.xml	2005-08-27 10:39:48 UTC (rev 6761)
+++ branches/cross-lfs/BOOK/final-system/multilib/udev.xml	2005-08-27 11:00:28 UTC (rev 6762)
@@ -44,14 +44,6 @@
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/udev.xml"
-    xpointer="xpointer(//*[@os='a'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../common/udev.xml"
-    xpointer="xpointer(//*[@os='b'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../common/udev.xml"
     xpointer="xpointer(//*[@os='c'])"/>
 
 <screen><userinput>make CC="gcc ${BUILD64}" LD="gcc ${BUILD64}" udevdir=/dev</userinput></screen>
@@ -82,6 +74,14 @@
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/udev.xml"
+    xpointer="xpointer(//*[@os='a'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/udev.xml"
+    xpointer="xpointer(//*[@os='b'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/udev.xml"
     xpointer="xpointer(//*[@os='j'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"

Modified: branches/cross-lfs/BOOK/introduction/common/changelog.xml
===================================================================
--- branches/cross-lfs/BOOK/introduction/common/changelog.xml	2005-08-27 10:39:48 UTC (rev 6761)
+++ branches/cross-lfs/BOOK/introduction/common/changelog.xml	2005-08-27 11:00:28 UTC (rev 6762)
@@ -42,6 +42,10 @@
       <para>August 27, 2005</para>
       <itemizedlist>
         <listitem>
+          <para>[manuel] - Install Udev's documentation relating to configuring
+          rules (fixes bug LFS 1622).</para>
+        </listitem>
+        <listitem>
           <para>[manuel] - Refrain from using the undocumented --print-file
           switch for GCC's spec file edit. Use -print-file-name=specs instead
           (Greg Schafer).</para>




More information about the lfs-book mailing list