Changeset 6e8f798 for BOOK/final-system


Ignore:
Timestamp:
Mar 14, 2006, 11:25:42 PM (19 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
2b7b70c
Parents:
7506301
Message:

r2572@server: jim | 2006-03-14 22:06:35 -0800
Updated to Udev 087

Location:
BOOK/final-system
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/udev.xml

    r7506301 r6e8f798  
    3636    <para os="a">Compile the package:</para>
    3737
    38 <screen os="b"><userinput>make EXTRAS="extras/firmware extras/run_directory"</userinput></screen>
     38<screen os="b"><userinput>make EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id
     39            extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev</userinput></screen>
    3940
    4041    <variablelist os="c">
     
    4243
    4344      <varlistentry>
    44       <term><parameter>EXTRAS="extras/firmware extras/run_directory"</parameter></term>
     45      <term><parameter>EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id
     46            extras/ata_id extras/usb_id extras/edd_id extras/dasd_id"</parameter></term>
    4547        <listitem>
    4648          <para>This builds the <command>udev_run_devd</command> and
     
    6365    <para os="g">Install the package:</para>
    6466
    65 <screen os="h"><userinput>make DESTDIR=/ EXTRAS="extras/firmware extras/run_directory" install</userinput></screen>
     67<screen os="h"><userinput>make DESTDIR=/ \
     68    EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id
     69            extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev install</userinput></screen>
    6670
    6771    <variablelist os="i">
     
    7983    </variablelist>
    8084
    81     <para os="j">Udev's configuration is far from ideal by default, so install
    82     the configuration file here:</para>
    83 
    84 <screen os="k"><userinput>cp -v ../&udev-config-file; /etc/udev/rules.d/25-lfs.rules</userinput></screen>
     85    <para os="i">Install necessary helpers.</para>
     86
     87<screen os="j"><userinput>install -D extras/path_id /sbin/path_id
     88install -D extras/eventrecorder.sh /lib/udev/eventrecorder.sh</userinput></screen>
    8589
    8690    <para os="l">Install the documentation that explains how to create
     
    8892
    8993<screen os="m"><userinput>install -v -m644 -D docs/writing_udev_rules/index.html /usr/share/doc/udev-&udev-version;/index.html</userinput></screen>
    90 
    91     <para os="n">Run the <command>udevstart</command> program to create our full
    92     complement of device nodes.</para>
    93 
    94 <screen os="o"><userinput>/sbin/udevstart</userinput></screen>
    9594
    9695  </sect2>
     
    104103
    105104      <seglistitem>
    106         <seg>udev, udevcontrol, udevd, udevinfo, udevmonitor, udevsend,
    107         udevstart and udevtest</seg>
     105        <seg>udevcontrol, udevd, udevinfo, udevmonitor, udevsend,
     106        and udevtest</seg>
    108107        <seg>/etc/udev</seg>
    109108      </seglistitem>
     
    114113      <?dbfo list-presentation="list"?>
    115114      <?dbhtml list-presentation="table"?>
    116 
    117       <varlistentry id="udev">
    118         <term><command>udev</command></term>
    119         <listitem>
    120           <para>Creates device nodes in <filename
    121           class="directory">/dev</filename> or renames network interfaces (not
    122           in LFS) in response to hotplug events</para>
    123           <indexterm zone="ch-system-udev udev">
    124             <primary sortas="b-udev">udev</primary>
    125           </indexterm>
    126         </listitem>
    127       </varlistentry>
    128115
    129116      <varlistentry id="udevcontrol">
     
    175162      </varlistentry>
    176163
    177       <varlistentry id="udevsend">
    178         <term><command>udevsend</command></term>
    179         <listitem>
    180           <para>Delivers hotplug events to <command>udevd</command></para>
    181           <indexterm zone="ch-system-udev udevsend">
    182             <primary sortas="b-udevsend">udevsend</primary>
    183           </indexterm>
    184         </listitem>
    185       </varlistentry>
    186 
    187       <varlistentry id="udevstart">
    188         <term><command>udevstart</command></term>
    189         <listitem>
    190           <para>Creates device nodes in <filename class="directory">/dev</filename>
    191           that correspond to drivers compiled directly into the kernel; it
    192           performs that task by simulating hotplug events presumably dropped by
    193           the kernel before invocation of this program (e.g., because the root
    194           filesystem has not been mounted) and submitting such synthetic hotplug
    195           events to <command>udev</command></para>
    196           <indexterm zone="ch-system-udev udevstart">
    197             <primary sortas="b-udevstart">udevstart</primary>
    198           </indexterm>
    199         </listitem>
    200       </varlistentry>
    201 
    202164      <varlistentry id="udevtest">
    203165        <term><command>udevtest</command></term>
     
    213175      </varlistentry>
    214176
     177      <varlistentry id="cdrom_id">
     178        <term><command>cdrom_id</command></term>
     179        <listitem>
     180          <para>To be written</para> 
     181          <indexterm zone="ch-system-udev cdrom_id">
     182            <primary sortas="b-cdrom_id">cdrom_id</primary>
     183          </indexterm>
     184        </listitem>
     185      </varlistentry>
     186
     187      <varlistentry id="firmware_helper">
     188        <term><command>firmware_helper</command></term>
     189        <listitem>
     190          <para>To be written</para> 
     191          <indexterm zone="ch-system-udev firmware_helper">
     192            <primary sortas="b-firmware_helper">firmware_helper</primary>
     193          </indexterm>
     194        </listitem>
     195      </varlistentry>
     196
     197      <varlistentry id="scsi_id">
     198        <term><command>scsi_id</command></term>
     199        <listitem>
     200          <para>To be written</para> 
     201          <indexterm zone="ch-system-udev scsi_id">
     202            <primary sortas="b-scsi_id">scsi_id</primary>
     203          </indexterm>
     204        </listitem>
     205      </varlistentry>
     206
     207      <varlistentry id="volume_id">
     208        <term><command>volume_id</command></term>
     209        <listitem>
     210          <para>To be written</para> 
     211          <indexterm zone="ch-system-udev volume_id">
     212            <primary sortas="b-volume_id">volume_id</primary>
     213          </indexterm>
     214        </listitem>
     215      </varlistentry>
     216
     217      <varlistentry id="ata_id">
     218        <term><command>ata_id</command></term>
     219        <listitem>
     220          <para>To be written</para> 
     221          <indexterm zone="ch-system-udev ata_id">
     222            <primary sortas="b-volume_id">ata_id</primary>
     223          </indexterm>
     224        </listitem>
     225      </varlistentry>
     226
     227      <varlistentry id="usb_id">
     228        <term><command>usb_id</command></term>
     229        <listitem>
     230          <para>To be written</para> 
     231          <indexterm zone="ch-system-udev usb_id">
     232            <primary sortas="b-usb_id">usb_id</primary>
     233          </indexterm>
     234        </listitem>
     235      </varlistentry>
     236
     237      <varlistentry id="edd_id">
     238        <term><command>edd_id</command></term>
     239        <listitem>
     240          <para>To be written</para> 
     241          <indexterm zone="ch-system-udev edd_id">
     242            <primary sortas="b-edd_id">edd_id</primary>
     243          </indexterm>
     244        </listitem>
     245      </varlistentry>
     246
     247      <varlistentry id="dasd_id">
     248        <term><command>dasd_id</command></term>
     249        <listitem>
     250          <para>To be written</para> 
     251          <indexterm zone="ch-system-udev dasd_id">
     252            <primary sortas="b-dasd_id">dasd_id</primary>
     253          </indexterm>
     254        </listitem>
     255      </varlistentry>
     256
    215257      <varlistentry id="etc-udev">
    216258        <term><filename class="directory">/etc/udev</filename></term>
     
    224266      </varlistentry>
    225267
     268      <varlistentry id="lib-udev">
     269        <term><filename class="directory">/lib/udev</filename></term>
     270        <listitem>
     271          <para>Contains <command>udev</command> helper programs
     272          and static devices which get copied to /dev when booted.</para>
     273          <indexterm zone="ch-system-udev lib-udev">
     274            <primary sortas="e-/lib/udev">/lib/udev</primary>
     275          </indexterm>
     276        </listitem>
     277      </varlistentry>
    226278    </variablelist>
    227279
  • BOOK/final-system/multilib/udev.xml

    r7506301 r6e8f798  
    2727
    2828<screen os="b"><userinput>make CC="gcc ${BUILD64}" LD="gcc ${BUILD64}" \
    29     EXTRAS="extras/firmware extras/run_directory" udevdir=/dev</userinput></screen>
     29 EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id
     30            extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev</userinput></screen>
    3031
    3132    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6364    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    6465    href="../common/udev.xml"
    65     xpointer="xpointer(//*[@os='k'])"/>
    66 
    67     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    68     href="../common/udev.xml"
    6966    xpointer="xpointer(//*[@os='l'])"/>
    7067
     
    7370    xpointer="xpointer(//*[@os='m'])"/>
    7471
    75     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    76     href="../common/udev.xml"
    77     xpointer="xpointer(//*[@os='n'])"/>
    78 
    79     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    80     href="../common/udev.xml"
    81     xpointer="xpointer(//*[@os='o'])"/>
    82 
    8372  </sect2>
    8473
    85   <sect2 id="contents-udev" role="content">
    86     <title>Contents of Udev</title>
    87 
    88     <segmentedlist>
    89       <segtitle>Installed programs</segtitle>
    90       <segtitle>Installed directory</segtitle>
    91 
    92       <seglistitem>
    93         <seg>udev, udevd, udevsend, udevstart, udevinfo, and udevtest</seg>
    94         <seg>/etc/udev</seg>
    95       </seglistitem>
    96     </segmentedlist>
    97 
    98     <variablelist>
    99       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
    100       <?dbfo list-presentation="list"?>
    101       <?dbhtml list-presentation="table"?>
    102 
    103       <varlistentry id="udev">
    104         <term><command>udev</command></term>
    105         <listitem>
    106           <para>Creates device nodes in <filename
    107           class="directory">/dev</filename> or renames network interfaces (not
    108           in LFS) in response to hotplug events</para>
    109             <indexterm zone="ch-system-udev udev">
    110           <primary sortas="b-udev">udev</primary>
    111         </indexterm>
    112       </listitem></varlistentry>
    113 
    114       <varlistentry id="udevd">
    115         <term><command>udevd</command></term>
    116         <listitem>
    117           <para>A daemon that reorders hotplug events before submitting them to
    118           <command>udev</command>,
    119           thus avoiding various race conditions</para>
    120             <indexterm zone="ch-system-udev udevd">
    121           <primary sortas="b-udevd">udevd</primary>
    122         </indexterm>
    123       </listitem></varlistentry>
    124 
    125       <varlistentry id="udevsend">
    126         <term><command>udevsend</command></term>
    127         <listitem>
    128           <para>Delivers hotplug events to <command>udevd</command></para>
    129             <indexterm zone="ch-system-udev udevsend">
    130           <primary sortas="b-udevsend">udevsend</primary>
    131         </indexterm>
    132       </listitem></varlistentry>
    133 
    134       <varlistentry id="udevstart">
    135         <term><command>udevstart</command></term>
    136         <listitem>
    137           <para>Creates device nodes in <filename class="directory">/dev</filename>
    138           that correspond to drivers compiled directly into the kernel; it
    139           performs that task by simulating hotplug events presumably dropped by
    140           the kernel before invocation of this program (e.g., because the root
    141           filesystem has not been mounted) and submitting such synthetic hotplug
    142           events to <command>udev</command></para>
    143           <indexterm zone="ch-system-udev udevstart">
    144             <primary sortas="b-udevstart">udevstart</primary>
    145           </indexterm>
    146         </listitem>
    147       </varlistentry>
    148 
    149       <varlistentry id="udevinfo">
    150         <term><command>udevinfo</command></term>
    151         <listitem>
    152           <para>Allows users to query the <command>udev</command> database for
    153           information on any device currently present on the system; it also
    154           provides a way to query any device in the <systemitem
    155           class="filesystem">sysfs</systemitem> tree to help create udev
    156           rules</para>
    157           <indexterm zone="ch-system-udev udevinfo">
    158             <primary sortas="b-udevinfo">udevinfo</primary>
    159           </indexterm>
    160         </listitem>
    161       </varlistentry>
    162 
    163       <varlistentry id="udevtest">
    164         <term><command>udevtest</command></term>
    165         <listitem>
    166           <para>Simulates a <command>udev</command> run for the given device,
    167           and prints out the name of the node the real <command>udev</command>
    168           would have created or (not in LFS) the name of the renamed network
    169           interface</para>
    170           <indexterm zone="ch-system-udev udevtest">
    171             <primary sortas="b-udevtest">udevtest</primary>
    172           </indexterm>
    173         </listitem>
    174       </varlistentry>
    175 
    176       <varlistentry id="etc-udev">
    177         <term><filename class="directory">/etc/udev</filename></term>
    178         <listitem>
    179           <para>Contains <command>udev</command> configuation files,
    180           device permissions, and rules for device naming</para>
    181           <indexterm zone="ch-system-udev etc-udev">
    182             <primary sortas="e-/etc/udev">/etc/udev</primary>
    183           </indexterm>
    184         </listitem>
    185       </varlistentry>
    186 
    187     </variablelist>
    188 
    189   </sect2>
     74  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     75  href="../common/udev.xml"
     76  xpointer="xpointer(id('contents-udev'))"/>
    19077
    19178</sect1>
Note: See TracChangeset for help on using the changeset viewer.