Ignore:
Timestamp:
Mar 14, 2006, 11:25:42 PM (19 years ago)
Author:
Jim Gifford <clfs@…>
Children:
f8e7b64
Parents:
83ddbcf
Message:

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

File:
1 edited

Legend:

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

    r83ddbcf rc4efa05  
    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
Note: See TracChangeset for help on using the changeset viewer.