Changeset e44b6e36


Ignore:
Timestamp:
03/25/2006 12:29:00 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Children:
6d8d38c
Parents:
1868699
Message:

Splitted EXTRAS to fit PDF output.
Tags fix.
Programs descriptions fix from Alexander.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/udev_update/BOOK@7454 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/udev.xml

    r1868699 re44b6e36  
    5757    <para>Compile the package:</para>
    5858
    59 <screen><userinput>make \
    60 EXTRAS="extras/ata_id extras/cdrom_id extras/edd_id extras/firmware extras/floppy extras/scsi_id extras/usb_id extras/volume_id"</userinput></screen>
     59<screen><userinput>make EXTRAS="extras/ata_id extras/cdrom_id extras/edd_id \
     60            extras/firmware extras/floppy extras/scsi_id \
     61            extras/usb_id extras/volume_id"</userinput></screen>
    6162
    6263    <variablelist>
     
    7879    <para>Install the package:</para>
    7980
    80 <screen><userinput>make DESTDIR=/ \
    81 EXTRAS="extras/ata_id extras/cdrom_id extras/edd_id extras/firmware extras/floppy extras/scsi_id extras/usb_id extras/volume_id" \
    82 install</userinput></screen>
     81<screen><userinput>make DESTDIR=/
     82    EXTRAS="extras/ata_id extras/cdrom_id extras/edd_id \
     83            extras/firmware extras/floppy extras/scsi_id \
     84            extras/usb_id extras/volume_id" install</userinput></screen>
    8385
    8486    <variablelist>
     
    131133
    132134<screen><userinput>cat &gt; bug.c &lt;&lt; EOF
    133 /* Simple event recorder */
     135<literal>/* Simple event recorder */
    134136#define _GNU_SOURCE
    135137#include &lt;sys/types.h&gt;
     
    155157  free(envz);
    156158  return 0;
    157 }
     159}</literal>
    158160EOF</userinput></screen>
    159161
     
    165167
    166168<screen><userinput>cat &gt; /etc/udev/rules.d/90-bug.rules &lt;&lt; "EOF"
    167 ACTION=="add", RUN+="bug"
     169<literal>ACTION=="add", RUN+="bug"</literal>
    168170EOF</userinput></screen>
    169171
     
    199201        <term><command>ata_id</command></term>
    200202        <listitem>
    201           <para>Provides <command>udev</command> with a unique string and
     203          <para>Provides Udev with a unique string and
    202204          additional information (uuid, label) for an ATA drive</para>
    203205          <indexterm zone="ch-system-udev ata_id">
     
    210212        <term><command>cdrom_id</command></term>
    211213        <listitem>
    212           <para>Provides <command>udev</command> with the capabilities of a
     214          <para>Provides Udev with the capabilities of a
    213215          CD-ROM or DVD-ROM drive</para>
    214216          <indexterm zone="ch-system-udev cdrom_id">
     
    231233        <term><command>edd_id</command></term>
    232234        <listitem>
    233           <para>Provides <command>udev</command> with the EDD ID for a BIOS disk
    234           drive</para>
     235          <para>Provides Udev with the EDD ID for a BIOS disk drive</para>
    235236          <indexterm zone="ch-system-udev edd_id">
    236237            <primary sortas="b-edd_id">edd_id</primary>
     
    242243        <term><command>firmware_helper</command></term>
    243244        <listitem>
    244           <para>Enables <command>udev</command> to upload firmware to
    245           devices</para>
     245          <para>Uploads firmware to devices</para>
    246246          <indexterm zone="ch-system-udev firmware_helper">
    247247            <primary sortas="b-firmware_helper">firmware_helper</primary>
     
    253253        <term><command>scsi_id</command></term>
    254254        <listitem>
    255           <para>Provides <command>udev</command> with a unique SCSI identifier
     255          <para>Provides Udev with a unique SCSI identifier
    256256          based on the data returned from sending a SCSI INQUIRY command to
    257257          the specified device</para>
     
    276276        <term><command>udevd</command></term>
    277277        <listitem>
    278           <para>A daemon that reorders hotplug events before submitting them to
    279           <command>udev</command>, thus avoiding various race conditions</para>
     278          <para>A daemon that listens for uevents on the netlink socket,
     279          creates devices and runs the configured external programs in
     280          response to these uevents</para>
    280281          <indexterm zone="ch-system-udev udevd">
    281282            <primary sortas="b-udevd">udevd</primary>
     
    287288        <term><command>udevinfo</command></term>
    288289        <listitem>
    289           <para>Allows users to query the <command>udev</command> database for
     290          <para>Allows users to query the Udev database for
    290291          information on any device currently present on the system; it also
    291292          provides a way to query any device in the <systemitem
     
    301302        <term><command>udevmonitor</command></term>
    302303        <listitem>
    303           <para>Prints the event received from the kernel and the event which
    304           <command>udev</command> sends out after rule processing</para>
     304          <para>Prints the event received from the kernel and the environment
     305          which Udev sends out after rule processing</para>
    305306          <indexterm zone="ch-system-udev udevmonitor">
    306307            <primary sortas="b-udevmonitor">udevmonitor</primary>
     
    312313        <term><command>udevtest</command></term>
    313314        <listitem>
    314           <para>Simulates a <command>udev</command> run for the given device,
    315           and prints out the name of the node the real <command>udev</command>
    316           would have created or (not in LFS) the name of the renamed network
    317           interface</para>
     315          <para>Simulates a uevent for the given device, and prints out the
     316          name of the node the real <command>udevd</command> would have created,
     317          or the name of the renamed network interface</para>
    318318          <indexterm zone="ch-system-udev udevtest">
    319319            <primary sortas="b-udevtest">udevtest</primary>
     
    325325        <term><command>usb_id</command></term>
    326326        <listitem>
    327           <para>Provides <command>udev</command> with information about USB
     327          <para>Provides Udev with information about USB
    328328          devices</para>
    329329          <indexterm zone="ch-system-udev usb_id">
     
    336336        <term><command>vol_id</command></term>
    337337        <listitem>
    338           <para>Provides <command>udev</command> with the label and uuid of a
     338          <para>Provides Udev with the label and uuid of a
    339339          filesystem</para>
    340340          <indexterm zone="ch-system-udev vol_id">
     
    347347        <term><filename class="directory">/etc/udev</filename></term>
    348348        <listitem>
    349           <para>Contains <command>udev</command> configuation files,
     349          <para>Contains Udev configuation files,
    350350          device permissions, and rules for device naming</para>
    351351          <indexterm zone="ch-system-udev etc-udev">
Note: See TracChangeset for help on using the changeset viewer.