Ignore:
Timestamp:
Sep 14, 2008, 11:30:14 AM (16 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
e8e6c4e
Parents:
9d32016
Message:

Checked and Updated Download Locations.
Updated Tree to 1.5.2.1.
Updated Util-Linux-NG to 2.14.1.
Updated TCL to 8.5.4.
Updated E2fsprogs to 1.41.1.
Updated M4 to 1.4.11.
Updated Kbd to 1.14.
Updated Bzip2 to 1.0.5.
Updated Autoconf to 2.63.
Updated Findutils to 4.4.0.
Updated Man-Pages to 3.09.
Updated Man to 1.6f.
Updated Shadow to 4.1.2.1.
Updated IPRoute2 to 2.6.26.
Updated Libtool to 2.2.6a.
Updated Module-Init-Tools to 3.4.1.
Updated Texinfo to 4.12.
Updated Vim to 7.2.
Updated MPFR to 2.3.2.
Updated Udev to 128.
Updated Linux to 2.6.26.5.
Applied fixes to Expect to make it compatible with TCL 8.5.
Add -Duseshrplib to the perl configure command. This causes perl to build a shared libperl.
Formatting fixes on multiple pages.
Use a Common inittab across all architectures.
Updated Bootscripts to 1.2-pre1.

File:
1 edited

Legend:

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

    r9d32016 r1da2a84  
    2626    <title>Installation of Udev</title>
    2727
    28     <para os="a">Compile the package:</para>
    29 
    30 <screen os="b"><userinput>make EXTRAS="extras/ata_id extras/cdrom_id extras/collect \
    31     extras/edd_id extras/firmware extras/floppy extras/path_id extras/rule_generator \
    32     extras/scsi_id extras/usb_id extras/volume_id" udevdir=/dev</userinput></screen>
    33 
    34     <variablelist os="c">
    35       <title>The meaning of the make parameter:</title>
    36 
    37       <varlistentry>
    38       <term><parameter>EXTRAS="extras/ata_id extras/cdrom_id extras/collect
    39       extras/edd_id extras/firmware extras/floppy extras/path_id extras/rule_generator
    40       extras/scsi_id extras/usb_id extras/volume_id"</parameter></term>
    41         <listitem>
    42           <para>This builds the helper applications that are used with
    43           udev. The helper programs assist in correct handling of devices.</para>
    44         </listitem>
    45       </varlistentry>
    46 
    47     </variablelist>
    48 
    49     <para os="d">If you want to run the testsuite, you need to change
    50     a hardcoded reference to the <command>test</command> program:</para>
    51 
    52     <screen os="e"><userinput>sed -i 's@/usr/bin/test@/bin/test@' test/udev-test.pl</userinput></screen>
    53 
    54     <para os="f">To test the results, issue:
    55     <userinput>make test</userinput>.</para>
     28    <para os="a">Prepare Udev for compilation:</para>
     29
     30<screen os="b"><userinput>./configure --prefix=/usr --exec-prefix= \
     31    --sysconfdir=/etc</userinput></screen>
     32
     33    <para os="c">Compile the package:</para>
     34
     35<screen os="d"><userinput>make</userinput></screen>
    5636
    5737    <para os="g">Install the package:</para>
    5838
    59 <screen os="h"><userinput>make EXTRAS="extras/ata_id extras/cdrom_id extras/collect \
    60     extras/edd_id extras/firmware extras/floppy extras/path_id extras/rule_generator \
    61     extras/scsi_id extras/usb_id extras/volume_id" DESTDIR=/ udevdir=/dev install</userinput></screen>
    62 
    63     <variablelist os="i">
    64       <title>The meaning of the make parameter:</title>
    65 
    66       <varlistentry>
    67       <term><parameter>DESTDIR=/</parameter></term>
    68         <listitem>
    69           <para>This prevents the Udev build process from killing any
    70           <command>udevd</command> processes that may be running on the
    71           system.</para>
    72         </listitem>
    73       </varlistentry>
    74 
    75     </variablelist>
    76 
    77     <para os="j">Install documentation:</para>
    78 
    79 <screen os="k"><userinput>install -v -m644 -D docs/writing_udev_rules/index.html \
     39<screen os="h"><userinput>make install</userinput></screen>
     40
     41    <para os="i">Install documentation:</para>
     42
     43<screen os="j"><userinput>install -v -m644 -D docs/writing_udev_rules/index.html \
    8044    /usr/share/doc/udev-&udev-version;/index.html</userinput></screen>
    8145
    82     <para os="l">Create a directory for storing firmware that can be
     46    <para os="k">Create a directory for storing firmware that can be
    8347    loaded by <command>udev</command>:</para>
    8448
    85 <screen os="m"><userinput>install -dv /lib/firmware</userinput></screen>
     49<screen os="l"><userinput>install -dv /lib/firmware</userinput></screen>
    8650
    8751  </sect2>
     
    9660
    9761      <seglistitem>
    98         <seg>udevadm, udevd, udevinfo (symlink to udevadm),
    99         udevsettle (symlink to udevadm)</seg>
    100         <seg>libvolume_id</seg>
     62        <seg>udevadm, udevd</seg>
     63        <seg>libvolume_id, libudev</seg>
    10164        <seg>/etc/udev, /lib/udev</seg>
    10265      </seglistitem>
     
    11174        <term><command>udevadm</command></term>
    11275        <listitem>
    113           <para>This program combines <command>udevinfo</command>,
    114           <command>udevtrigger</command>, <command>udevsettle</command>,
    115           <command>udevcontrol</command>, <command>udevmonitor</command>,
    116           and <command>udevtest</command> into one command.</para>
     76        <para>udevadm controls the runtime behavior of udev, requests kernel
     77        events, manages the event queue, and provides simple debugging.</para>
    11778          <indexterm zone="ch-system-udev udevadm">
    11879            <primary sortas="b-udevadm">udevadm</primary>
    119           </indexterm>
    120         </listitem>
    121       </varlistentry>
    122 
    123       <varlistentry id="udevadm-control">
    124         <term><command>udevadm control</command></term>
    125         <listitem>
    126           <para>Configures a number of options for the running
    127           <command>udevd</command> daemon, such as the log level. (Symlink to
    128           udevadm)</para>
    129           <indexterm zone="ch-system-udev udevadm-control">
    130             <primary sortas="b-udevadm-control">udevadm control</primary>
    13180          </indexterm>
    13281        </listitem>
     
    14594      </varlistentry>
    14695
    147       <varlistentry id="udevinfo">
    148         <term><command>udevinfo</command></term>
    149         <listitem>
    150           <para>Allows users to query the <command>udev</command> database for
    151           information on any device currently present on the system; it also
    152           provides a way to query any device in the <systemitem
    153           class="filesystem">sysfs</systemitem> tree to help create udev
    154           rules. (Symlink to udevadm)</para>
    155           <indexterm zone="ch-system-udev udevinfo">
    156             <primary sortas="b-udevinfo">udevinfo</primary>
    157           </indexterm>
    158         </listitem>
    159       </varlistentry>
    160 
    161       <varlistentry id="udevadm-monitor">
    162         <term><command>udevadm monitor</command></term>
    163         <listitem>
    164           <para>Prints the event received from the kernel and the event which
    165           <command>udev</command> sends out after rule processing</para>
    166           <indexterm zone="ch-system-udev udevadm-monitor">
    167             <primary sortas="b-udevadm-monitor">udevadm monitor</primary>
    168           </indexterm>
    169         </listitem>
    170       </varlistentry>
    171 
    172       <varlistentry id="udevsettle">
    173         <term><command>udevsettle</command></term>
    174         <listitem>
    175           <para>Watches the Udev event queue and exits if all current uevents
    176           have been handled. (Symlink to udevadm)</para>
    177           <indexterm zone="ch-system-udev udevsettle">
    178             <primary sortas="b-udevsettle">udevsettle</primary>
    179           </indexterm>
    180         </listitem>
    181       </varlistentry>
    182 
    183       <varlistentry id="udevadm-test">
    184         <term><command>udevadm test</command></term>
    185         <listitem>
    186           <para>Simulates a <command>udev</command> run for the given device,
    187           and prints out the name of the node the real <command>udev</command>
    188           would have created or the name of the renamed network interface</para>
    189           <indexterm zone="ch-system-udev udevadm-test">
    190             <primary sortas="b-udevadm-test">udevadm test</primary>
    191           </indexterm>
    192         </listitem>
    193       </varlistentry>
    194 
    195       <varlistentry id="udevadm-trigger">
    196         <term><command>udevadm trigger</command></term>
    197         <listitem>
    198           <para>Walks the sysfs tree for devices that need to be added to the
    199           system.</para>
    200           <indexterm zone="ch-system-udev udevadm-trigger">
    201             <primary sortas="b-udeadm-vtrigger">udevadm trigger</primary>
    202           </indexterm>
    203         </listitem>
    204       </varlistentry>     
    205 
    20696 <!-- Start of Helpers -->
    20797      <varlistentry id="ata_id">
     
    226116      </varlistentry>
    227117
     118      <varlistentry id="collect">
     119        <term><command>collect</command></term>
     120        <listitem>
     121          <para>DESCRIPTION REQUIRED</para>
     122          <indexterm zone="ch-system-udev collect">
     123            <primary sortas="b-collect">collect</primary>
     124          </indexterm>
     125        </listitem>
     126      </varlistentry>
     127
    228128      <varlistentry id="create_floppy_devices">
    229129        <term><command>create_floppy_devices</command></term>
     
    236136      </varlistentry>
    237137
    238       <varlistentry id="dasd_id">
    239         <term><command>dasd_id</command></term>
    240         <listitem>
    241           <para>Read the label from an s390 block device.</para>
    242           <indexterm zone="ch-system-udev dasd_id">
    243             <primary sortas="b-dasd_id">dasd_id</primary>
    244           </indexterm>
    245         </listitem>
    246       </varlistentry>
    247 
    248138      <varlistentry id="edd_id">
    249139        <term><command>edd_id</command></term>
     
    262152          <indexterm zone="ch-system-udev firmware.sh">
    263153            <primary sortas="b-firmware.sh">firmware.sh</primary>
     154          </indexterm>
     155        </listitem>
     156      </varlistentry>
     157
     158      <varlistentry id="fstab_import">
     159        <term><command>fstab_import</command></term>
     160        <listitem>
     161          <para>DESCRIPTION REQUIRED</para>
     162          <indexterm zone="ch-system-udev fstab_import">
     163            <primary sortas="b-fstab_import">fstab_import</primary>
    264164          </indexterm>
    265165        </listitem>
     
    303203          <indexterm zone="ch-system-udev vol_id">
    304204            <primary sortas="b-vol_id">vol_id</primary>
     205          </indexterm>
     206        </listitem>
     207      </varlistentry>
     208
     209      <varlistentry id="write_cd_rules">
     210        <term><command>write_cd_rules</command></term>
     211        <listitem>
     212          <para>DESCRIPTION REQUIRED</para>
     213          <indexterm zone="ch-system-udev write_cd_rules">
     214            <primary sortas="b-write_cd_rules">write_cd_rules</primary>
     215          </indexterm>
     216        </listitem>
     217      </varlistentry>
     218
     219      <varlistentry id="write_net_rules">
     220        <term><command>write_net_rules</command></term>
     221        <listitem>
     222          <para>DESCRIPTION REQUIRED</para>
     223          <indexterm zone="ch-system-udev write_net_rules">
     224            <primary sortas="b-write_net_rules">write_net_rules</primary>
    305225          </indexterm>
    306226        </listitem>
     
    320240      </varlistentry>
    321241
     242      <varlistentry id="libudev">
     243        <term><filename class="libraryfile">libudev</filename></term>
     244        <listitem>
     245          <para>DESCRIPTION REQUIRED</para>
     246          <indexterm zone="ch-system-udev libudev">
     247            <primary sortas="b-libudev">libudev</primary>
     248          </indexterm>
     249        </listitem>
     250      </varlistentry>
     251
    322252      <varlistentry id="etc-udev">
    323253        <term><filename class="directory">/etc/udev</filename></term>
Note: See TracChangeset for help on using the changeset viewer.