Changeset 8064

Show
Ignore:
Timestamp:
04/16/07 13:34:38 (1 year ago)
Author:
matthew
Message:

Upgrade to Udev-108. Fixes #1976.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/BOOK/chapter01/changelog.xml

    r8062 r8064  
    4141      <itemizedlist> 
    4242        <listitem> 
     43          <para>[matthew] - Upgrade to Udev-108. Fixes 
     44          <ulink url="&lfs-ticket-root;1976">#1976</ulink>.</para> 
     45        </listitem> 
     46        <listitem> 
    4347          <para>[matthew] - Upgrade to Man-pages-2.44. Fixes 
    4448          <ulink url="&lfs-ticket-root;1987">#1987</ulink>.</para> 
  • trunk/BOOK/chapter06/udev.xml

    r8015 r8064  
    5454    <para>Compile the package:</para> 
    5555 
    56 <screen><userinput>make EXTRAS="extras/ata_id extras/cdrom_id extras/edd_id \ 
    57     extras/firmware extras/floppy extras/path_id \ 
    58     extras/rule_generator extras/scsi_id extras/usb_id \ 
    59     extras/volume_id"</userinput></screen> 
     56<screen><userinput>make EXTRAS="`echo extras/*/`"</userinput></screen> 
    6057 
    6158    <variablelist> 
     
    6562        <term><parameter>EXTRAS=...</parameter></term> 
    6663        <listitem> 
    67           <para>This builds several helper binaries that can aid in writing custom 
     64          <para>This builds the helper binaries that can aid in writing custom 
    6865          Udev rules.</para> 
    6966        </listitem> 
     
    8077    <para>Install the package:</para> 
    8178 
    82 <screen><userinput>make DESTDIR=/ \ 
    83     EXTRAS="extras/ata_id extras/cdrom_id extras/edd_id \ 
    84             extras/firmware extras/floppy extras/path_id \ 
    85             extras/rule_generator extras/scsi_id \ 
    86             extras/usb_id extras/volume_id" install</userinput></screen> 
     79<screen><userinput>make DESTDIR=/ EXTRAS="`echo extras/*/`" install</userinput></screen> 
    8780 
    8881    <variablelist> 
  • trunk/BOOK/chapter07/symlinks.xml

    r8037 r8064  
    2424    decide which of two modes of operation you wish to have the script use.</para> 
    2525 
    26     <para>First, the script can operate in <quote>by-path</quote> mode, where 
    27     the rules it creates depend on the physical path to the CD or DVD device. 
    28     Second, it can operate in <quote>by-id</quote> mode, where the rules it 
    29     creates depend on identification strings stored in the CD or DVD device 
    30     itself. The path is determined by Udev's <command>path_id</command> script, 
    31     and the identification strings are read from the hardware by its 
     26    <para>First, the script can operate in <quote>by-path</quote> mode (used by 
     27    default for USB and FireWire devices), where the rules it creates depend on 
     28    the physical path to the CD or DVD device. Second, it can operate in 
     29    <quote>by-id</quote> mode (default for IDE and SCSI devices), where the 
     30    rules it creates depend on identification strings stored in the CD or DVD 
     31    device itself. The path is determined by Udev's <command>path_id</command> 
     32    script, and the identification strings are read from the hardware by its 
    3233    <command>ata_id</command> or <command>scsi_id</command> programs, depending 
    3334    on which type of device you have.</para> 
     
    7071    ID_REVISION. The <quote>by-path</quote> mode will use the ID_PATH value.</para> 
    7172 
    72     <para>If you choose the <quote>by-path</quote> mode, then the rules files 
    73     installed by default with Udev will work. If you choose the <quote>by-id</quote> 
    74     mode, then you will have to modify the 
     73    <para>If the default mode is not suitable for your situation, then the 
     74    following modification can be made to the 
    7575    <filename>/etc/udev/rules.d/75-cd-aliases-generator.rules</filename> file, 
    76     as follows:</para> 
     76    as follows (where <replaceable>mode</replaceable> is one of 
     77    <quote>by-id</quote> or <quote>by-path</quote>):</para> 
    7778 
    78 <screen><userinput>sed -i -e 's/write_cd_aliases/&amp; by-id/' \ 
     79<screen><userinput>sed -i -e 's/write_cd_aliases/&amp; <replaceable>mode</replaceable>/' \ 
    7980    /etc/udev/rules.d/75-cd-aliases-generator.rules</userinput></screen> 
    8081 
  • trunk/BOOK/packages.ent

    r8062 r8064  
    483483<!ENTITY texinfo-ch6-sbu "0.2 SBU"> 
    484484 
    485 <!ENTITY udev-version "106"> 
    486 <!ENTITY udev-size "184 KB"> 
     485<!ENTITY udev-version "108"> 
     486<!ENTITY udev-size "183 KB"> 
    487487<!ENTITY udev-url "&kernel;linux/utils/kernel/hotplug/udev-&udev-version;.tar.bz2"> 
    488 <!ENTITY udev-md5 "320ccd2d0f4540d10e021bafa14f8985"> 
     488<!ENTITY udev-md5 "67935abde67b23e7c6e86e0be77c5e4b"> 
    489489<!ENTITY udev-home "&kernel;linux/utils/kernel/hotplug/udev.html"> 
    490490<!ENTITY udev-ch6-du "5.8 MB">