r1274 - / trunk/BOOK trunk/BOOK/boot/common trunk/BOOK/boot/multilib trunk/BOOK/final-system/common trunk/BOOK/final-system/multilib trunk/BOOK/introduction/common

jim at linuxfromscratch.org jim at linuxfromscratch.org
Tue Mar 14 23:28:00 PST 2006


Author: jim
Date: 2006-03-15 00:27:58 -0700 (Wed, 15 Mar 2006)
New Revision: 1274

Modified:
   /
   trunk/BOOK/
   trunk/BOOK/boot/common/udev.xml
   trunk/BOOK/boot/multilib/udev.xml
   trunk/BOOK/final-system/common/udev.xml
   trunk/BOOK/final-system/multilib/udev.xml
   trunk/BOOK/introduction/common/changelog.xml
   trunk/BOOK/packages.ent
Log:
 r2580 at server (orig r1274):  jim | 2006-03-14 23:25:42 -0800
  r2572 at server:  jim | 2006-03-14 22:06:35 -0800
  Updated to Udev 087
 



Property changes on: 
___________________________________________________________________
Name: svk:merge
   - b6734a72-470d-0410-b049-f317dca95413:/:1273
   + b6734a72-470d-0410-b049-f317dca95413:/:1274


Property changes on: trunk/BOOK
___________________________________________________________________
Name: svk:merge
   - 38c7b366-470d-0410-a457-935707c16d9b:/cross-lfs:2571
3949c430-d905-0410-97b6-f115d20341b5:/cross-lfs:1422
3b7552df-c20a-0410-b7e1-d7eaf1be8828:/cross-lfs:1269
f6929928-7304-0410-9559-ff6106abff4d:/cross-lfs:790
   + 38c7b366-470d-0410-a457-935707c16d9b:/cross-lfs:2572
3949c430-d905-0410-97b6-f115d20341b5:/cross-lfs:1422
3b7552df-c20a-0410-b7e1-d7eaf1be8828:/cross-lfs:1269
f6929928-7304-0410-9559-ff6106abff4d:/cross-lfs:790

Modified: trunk/BOOK/boot/common/udev.xml
===================================================================
--- trunk/BOOK/boot/common/udev.xml	2006-03-15 07:27:43 UTC (rev 1273)
+++ trunk/BOOK/boot/common/udev.xml	2006-03-15 07:27:58 UTC (rev 1274)
@@ -27,7 +27,8 @@
     xpointer="xpointer(//*[@os='a'])"/>
 
 <screen os="b"><userinput>make CROSS="${LFS_TARGET}-" CC="${CC}" LD="${CC}" \
-    EXTRAS="extras/firmware extras/run_directory"</userinput></screen>
+    EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id
+            extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev</userinput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../../final-system/common/udev.xml"
@@ -37,14 +38,10 @@
     href="../../final-system/common/udev.xml"
     xpointer="xpointer(//*[@os='g'])"/>
 
-<screen os="h"><userinput>make DESTDIR=${LFS} EXTRAS="extras/firmware extras/run_directory" install</userinput></screen>
+<screen os="h"><userinput>make DESTDIR=${LFS}
+    EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id
+            extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev install</userinput></screen>
 
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../../final-system/common/udev.xml"
-    xpointer="xpointer(//*[@os='j'])"/>
-
-<screen os="k"><userinput>cp -v ../&udev-config-file; ${LFS}/etc/udev/rules.d/25-lfs.rules</userinput></screen>
-
   </sect2>
 
   <sect2 role="content">

Modified: trunk/BOOK/boot/multilib/udev.xml
===================================================================
--- trunk/BOOK/boot/multilib/udev.xml	2006-03-15 07:27:43 UTC (rev 1273)
+++ trunk/BOOK/boot/multilib/udev.xml	2006-03-15 07:27:58 UTC (rev 1274)
@@ -27,7 +27,8 @@
     xpointer="xpointer(//*[@os='a'])"/>
 
 <screen os="b"><userinput>make CROSS="${LFS_TARGET}-" CC="${CC} ${BUILD64}" LD="${CC} ${BUILD64}" \
-    EXTRAS="extras/firmware extras/run_directory"</userinput></screen>
+    EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id
+            extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev</userinput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/udev.xml"
@@ -41,14 +42,6 @@
     href="../common/udev.xml"
     xpointer="xpointer(//*[@os='h'])"/>
 
-    <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"
-    href="../common/udev.xml"
-    xpointer="xpointer(//*[@os='k'])"/>
-
   </sect2>
 
   <sect2 role="content">

Modified: trunk/BOOK/final-system/common/udev.xml
===================================================================
--- trunk/BOOK/final-system/common/udev.xml	2006-03-15 07:27:43 UTC (rev 1273)
+++ trunk/BOOK/final-system/common/udev.xml	2006-03-15 07:27:58 UTC (rev 1274)
@@ -35,13 +35,15 @@
 
     <para os="a">Compile the package:</para>
 
-<screen os="b"><userinput>make EXTRAS="extras/firmware extras/run_directory"</userinput></screen>
+<screen os="b"><userinput>make EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id
+            extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev</userinput></screen>
 
     <variablelist os="c">
       <title>The meaning of the make parameter:</title>
 
       <varlistentry>
-      <term><parameter>EXTRAS="extras/firmware extras/run_directory"</parameter></term>
+      <term><parameter>EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id
+            extras/ata_id extras/usb_id extras/edd_id extras/dasd_id"</parameter></term>
         <listitem>
           <para>This builds the <command>udev_run_devd</command> and
           <command>udev_run_hotplugd</command> binaries, which are required for
@@ -62,7 +64,9 @@
 
     <para os="g">Install the package:</para>
 
-<screen os="h"><userinput>make DESTDIR=/ EXTRAS="extras/firmware extras/run_directory" install</userinput></screen>
+<screen os="h"><userinput>make DESTDIR=/ \
+    EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id
+            extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev install</userinput></screen>
 
     <variablelist os="i">
       <title>The meaning of the make parameter:</title>
@@ -78,21 +82,16 @@
 
     </variablelist>
 
-    <para os="j">Udev's configuration is far from ideal by default, so install
-    the configuration file here:</para>
+    <para os="i">Install necessary helpers.</para>
 
-<screen os="k"><userinput>cp -v ../&udev-config-file; /etc/udev/rules.d/25-lfs.rules</userinput></screen>
+<screen os="j"><userinput>install -D extras/path_id /sbin/path_id
+install -D extras/eventrecorder.sh /lib/udev/eventrecorder.sh</userinput></screen>
 
     <para os="l">Install the documentation that explains how to create
     Udev rules:</para>
 
 <screen os="m"><userinput>install -v -m644 -D docs/writing_udev_rules/index.html /usr/share/doc/udev-&udev-version;/index.html</userinput></screen>
 
-    <para os="n">Run the <command>udevstart</command> program to create our full
-    complement of device nodes.</para>
-
-<screen os="o"><userinput>/sbin/udevstart</userinput></screen>
-
   </sect2>
 
   <sect2 id="contents-udev" role="content">
@@ -103,8 +102,8 @@
       <segtitle>Installed directory</segtitle>
 
       <seglistitem>
-        <seg>udev, udevcontrol, udevd, udevinfo, udevmonitor, udevsend,
-        udevstart and udevtest</seg>
+        <seg>udevcontrol, udevd, udevinfo, udevmonitor, udevsend,
+        and udevtest</seg>
         <seg>/etc/udev</seg>
       </seglistitem>
     </segmentedlist>
@@ -114,18 +113,6 @@
       <?dbfo list-presentation="list"?>
       <?dbhtml list-presentation="table"?>
 
-      <varlistentry id="udev">
-        <term><command>udev</command></term>
-        <listitem>
-          <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>
-
       <varlistentry id="udevcontrol">
         <term><command>udevcontrol</command></term>
         <listitem>
@@ -174,44 +161,99 @@
         </listitem>
       </varlistentry>
 
-      <varlistentry id="udevsend">
-        <term><command>udevsend</command></term>
+      <varlistentry id="udevtest">
+        <term><command>udevtest</command></term>
         <listitem>
-          <para>Delivers hotplug events to <command>udevd</command></para>
-          <indexterm zone="ch-system-udev udevsend">
-            <primary sortas="b-udevsend">udevsend</primary>
+          <para>Simulates a <command>udev</command> run for the given device,
+          and prints out the name of the node the real <command>udev</command>
+          would have created or (not in LFS) the name of the renamed network
+          interface</para>
+          <indexterm zone="ch-system-udev udevtest">
+            <primary sortas="b-udevtest">udevtest</primary>
           </indexterm>
         </listitem>
       </varlistentry>
 
-      <varlistentry id="udevstart">
-        <term><command>udevstart</command></term>
+      <varlistentry id="cdrom_id">
+        <term><command>cdrom_id</command></term>
         <listitem>
-          <para>Creates device nodes in <filename class="directory">/dev</filename>
-          that correspond to drivers compiled directly into the kernel; it
-          performs that task by simulating hotplug events presumably dropped by
-          the kernel before invocation of this program (e.g., because the root
-          filesystem has not been mounted) and submitting such synthetic hotplug
-          events to <command>udev</command></para>
-          <indexterm zone="ch-system-udev udevstart">
-            <primary sortas="b-udevstart">udevstart</primary>
+	  <para>To be written</para>  
+          <indexterm zone="ch-system-udev cdrom_id">
+            <primary sortas="b-cdrom_id">cdrom_id</primary>
           </indexterm>
         </listitem>
       </varlistentry>
 
-      <varlistentry id="udevtest">
-        <term><command>udevtest</command></term>
+      <varlistentry id="firmware_helper">
+        <term><command>firmware_helper</command></term>
         <listitem>
-          <para>Simulates a <command>udev</command> run for the given device,
-          and prints out the name of the node the real <command>udev</command>
-          would have created or (not in LFS) the name of the renamed network
-          interface</para>
-          <indexterm zone="ch-system-udev udevtest">
-            <primary sortas="b-udevtest">udevtest</primary>
+	  <para>To be written</para>  
+          <indexterm zone="ch-system-udev firmware_helper">
+            <primary sortas="b-firmware_helper">firmware_helper</primary>
           </indexterm>
         </listitem>
       </varlistentry>
 
+      <varlistentry id="scsi_id">
+        <term><command>scsi_id</command></term>
+        <listitem>
+	  <para>To be written</para>  
+          <indexterm zone="ch-system-udev scsi_id">
+            <primary sortas="b-scsi_id">scsi_id</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="volume_id">
+        <term><command>volume_id</command></term>
+        <listitem>
+	  <para>To be written</para>  
+          <indexterm zone="ch-system-udev volume_id">
+            <primary sortas="b-volume_id">volume_id</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="ata_id">
+        <term><command>ata_id</command></term>
+        <listitem>
+	  <para>To be written</para>  
+          <indexterm zone="ch-system-udev ata_id">
+            <primary sortas="b-volume_id">ata_id</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="usb_id">
+        <term><command>usb_id</command></term>
+        <listitem>
+	  <para>To be written</para>  
+          <indexterm zone="ch-system-udev usb_id">
+            <primary sortas="b-usb_id">usb_id</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="edd_id">
+        <term><command>edd_id</command></term>
+        <listitem>
+	  <para>To be written</para>  
+          <indexterm zone="ch-system-udev edd_id">
+            <primary sortas="b-edd_id">edd_id</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="dasd_id">
+        <term><command>dasd_id</command></term>
+        <listitem>
+	  <para>To be written</para>  
+          <indexterm zone="ch-system-udev dasd_id">
+            <primary sortas="b-dasd_id">dasd_id</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
       <varlistentry id="etc-udev">
         <term><filename class="directory">/etc/udev</filename></term>
         <listitem>
@@ -223,6 +265,16 @@
         </listitem>
       </varlistentry>
 
+      <varlistentry id="lib-udev">
+        <term><filename class="directory">/lib/udev</filename></term>
+        <listitem>
+          <para>Contains <command>udev</command> helper programs
+          and static devices which get copied to /dev when booted.</para>
+          <indexterm zone="ch-system-udev lib-udev">
+            <primary sortas="e-/lib/udev">/lib/udev</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
     </variablelist>
 
   </sect2>

Modified: trunk/BOOK/final-system/multilib/udev.xml
===================================================================
--- trunk/BOOK/final-system/multilib/udev.xml	2006-03-15 07:27:43 UTC (rev 1273)
+++ trunk/BOOK/final-system/multilib/udev.xml	2006-03-15 07:27:58 UTC (rev 1274)
@@ -26,7 +26,8 @@
     xpointer="xpointer(//*[@os='a'])"/>
 
 <screen os="b"><userinput>make CC="gcc ${BUILD64}" LD="gcc ${BUILD64}" \
-    EXTRAS="extras/firmware extras/run_directory" udevdir=/dev</userinput></screen>
+ EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id
+            extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev</userinput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/udev.xml"
@@ -62,130 +63,16 @@
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/udev.xml"
-    xpointer="xpointer(//*[@os='k'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../common/udev.xml"
     xpointer="xpointer(//*[@os='l'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/udev.xml"
     xpointer="xpointer(//*[@os='m'])"/>
 
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../common/udev.xml"
-    xpointer="xpointer(//*[@os='n'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../common/udev.xml"
-    xpointer="xpointer(//*[@os='o'])"/>
-
   </sect2>
 
-  <sect2 id="contents-udev" role="content">
-    <title>Contents of Udev</title>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/udev.xml"
+  xpointer="xpointer(id('contents-udev'))"/>
 
-    <segmentedlist>
-      <segtitle>Installed programs</segtitle>
-      <segtitle>Installed directory</segtitle>
-
-      <seglistitem>
-        <seg>udev, udevd, udevsend, udevstart, udevinfo, and udevtest</seg>
-        <seg>/etc/udev</seg>
-      </seglistitem>
-    </segmentedlist>
-
-    <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
-      <?dbfo list-presentation="list"?>
-      <?dbhtml list-presentation="table"?>
-
-      <varlistentry id="udev">
-        <term><command>udev</command></term>
-        <listitem>
-          <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>
-
-      <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>
-
-      <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>
-
-      <varlistentry id="udevstart">
-        <term><command>udevstart</command></term>
-        <listitem>
-          <para>Creates device nodes in <filename class="directory">/dev</filename>
-          that correspond to drivers compiled directly into the kernel; it
-          performs that task by simulating hotplug events presumably dropped by
-          the kernel before invocation of this program (e.g., because the root
-          filesystem has not been mounted) and submitting such synthetic hotplug
-          events to <command>udev</command></para>
-          <indexterm zone="ch-system-udev udevstart">
-            <primary sortas="b-udevstart">udevstart</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="udevtest">
-        <term><command>udevtest</command></term>
-        <listitem>
-          <para>Simulates a <command>udev</command> run for the given device,
-          and prints out the name of the node the real <command>udev</command>
-          would have created or (not in LFS) the name of the renamed network
-          interface</para>
-          <indexterm zone="ch-system-udev udevtest">
-            <primary sortas="b-udevtest">udevtest</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="etc-udev">
-        <term><filename class="directory">/etc/udev</filename></term>
-        <listitem>
-          <para>Contains <command>udev</command> configuation files,
-          device permissions, and rules for device naming</para>
-          <indexterm zone="ch-system-udev etc-udev">
-            <primary sortas="e-/etc/udev">/etc/udev</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-    </variablelist>
-
-  </sect2>
-
 </sect1>

Modified: trunk/BOOK/introduction/common/changelog.xml
===================================================================
--- trunk/BOOK/introduction/common/changelog.xml	2006-03-15 07:27:43 UTC (rev 1273)
+++ trunk/BOOK/introduction/common/changelog.xml	2006-03-15 07:27:58 UTC (rev 1274)
@@ -45,6 +45,9 @@
         <listitem>
           <para>[jim] - Removal of Hotplug.</para>
         </listitem>
+        <listitem>
+          <para>[jim] - Updated to Udev 087.</para>
+        </listitem>
       </itemizedlist>
     </listitem>
 

Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent	2006-03-15 07:27:43 UTC (rev 1273)
+++ trunk/BOOK/packages.ent	2006-03-15 07:27:58 UTC (rev 1274)
@@ -262,8 +262,8 @@
 <!ENTITY tree-size "26 KB">
 <!ENTITY tree-url "ftp://mama.indstate.edu/linux/tree/tree-&tree-version;.tgz">
 
-<!ENTITY udev-version "076">
-<!ENTITY udev-size "217 KB">
+<!ENTITY udev-version "087">
+<!ENTITY udev-size "186 KB">
 <!ENTITY udev-url "&kernel;linux/utils/kernel/hotplug/udev-&udev-version;.tar.bz2">
 
 <!ENTITY udev-config-file "udev-config-cross-lfs-1.rules">




More information about the cross-lfs mailing list