Upgrade to Udev-108. Fixes #1976.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8064 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Matthew Burgess 2007-04-16 19:34:38 +00:00
parent ce33e5757d
commit 8536c02ded
4 changed files with 22 additions and 24 deletions

View File

@ -39,6 +39,10 @@
<listitem> <listitem>
<para>2007-04-16</para> <para>2007-04-16</para>
<itemizedlist> <itemizedlist>
<listitem>
<para>[matthew] - Upgrade to Udev-108. Fixes
<ulink url="&lfs-ticket-root;1976">#1976</ulink>.</para>
</listitem>
<listitem> <listitem>
<para>[matthew] - Upgrade to Man-pages-2.44. Fixes <para>[matthew] - Upgrade to Man-pages-2.44. Fixes
<ulink url="&lfs-ticket-root;1987">#1987</ulink>.</para> <ulink url="&lfs-ticket-root;1987">#1987</ulink>.</para>

View File

@ -53,10 +53,7 @@ ln -sv /proc/kcore /lib/udev/devices/core</userinput></screen>
<para>Compile the package:</para> <para>Compile the package:</para>
<screen><userinput>make EXTRAS="extras/ata_id extras/cdrom_id extras/edd_id \ <screen><userinput>make EXTRAS="`echo extras/*/`"</userinput></screen>
extras/firmware extras/floppy extras/path_id \
extras/rule_generator extras/scsi_id extras/usb_id \
extras/volume_id"</userinput></screen>
<variablelist> <variablelist>
<title>The meaning of the make option:</title> <title>The meaning of the make option:</title>
@ -64,7 +61,7 @@ ln -sv /proc/kcore /lib/udev/devices/core</userinput></screen>
<varlistentry> <varlistentry>
<term><parameter>EXTRAS=...</parameter></term> <term><parameter>EXTRAS=...</parameter></term>
<listitem> <listitem>
<para>This builds several helper binaries that can aid in writing custom <para>This builds the helper binaries that can aid in writing custom
Udev rules.</para> Udev rules.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -79,11 +76,7 @@ ln -sv /proc/kcore /lib/udev/devices/core</userinput></screen>
<para>Install the package:</para> <para>Install the package:</para>
<screen><userinput>make DESTDIR=/ \ <screen><userinput>make DESTDIR=/ EXTRAS="`echo extras/*/`" install</userinput></screen>
EXTRAS="extras/ata_id extras/cdrom_id extras/edd_id \
extras/firmware extras/floppy extras/path_id \
extras/rule_generator extras/scsi_id \
extras/usb_id extras/volume_id" install</userinput></screen>
<variablelist> <variablelist>
<title>The meaning of the make parameter:</title> <title>The meaning of the make parameter:</title>

View File

@ -23,12 +23,13 @@
for you, depending on the capabilities of each device, but you need to for you, depending on the capabilities of each device, but you need to
decide which of two modes of operation you wish to have the script use.</para> decide which of two modes of operation you wish to have the script use.</para>
<para>First, the script can operate in <quote>by-path</quote> mode, where <para>First, the script can operate in <quote>by-path</quote> mode (used by
the rules it creates depend on the physical path to the CD or DVD device. default for USB and FireWire devices), where the rules it creates depend on
Second, it can operate in <quote>by-id</quote> mode, where the rules it the physical path to the CD or DVD device. Second, it can operate in
creates depend on identification strings stored in the CD or DVD device <quote>by-id</quote> mode (default for IDE and SCSI devices), where the
itself. The path is determined by Udev's <command>path_id</command> script, rules it creates depend on identification strings stored in the CD or DVD
and the identification strings are read from the hardware by its device itself. The path is determined by Udev's <command>path_id</command>
script, and the identification strings are read from the hardware by its
<command>ata_id</command> or <command>scsi_id</command> programs, depending <command>ata_id</command> or <command>scsi_id</command> programs, depending
on which type of device you have.</para> on which type of device you have.</para>
@ -69,13 +70,13 @@
is not empty, otherwise it will use a combination of ID_MODEL and is not empty, otherwise it will use a combination of ID_MODEL and
ID_REVISION. The <quote>by-path</quote> mode will use the ID_PATH value.</para> ID_REVISION. The <quote>by-path</quote> mode will use the ID_PATH value.</para>
<para>If you choose the <quote>by-path</quote> mode, then the rules files <para>If the default mode is not suitable for your situation, then the
installed by default with Udev will work. If you choose the <quote>by-id</quote> following modification can be made to the
mode, then you will have to modify the
<filename>/etc/udev/rules.d/75-cd-aliases-generator.rules</filename> file, <filename>/etc/udev/rules.d/75-cd-aliases-generator.rules</filename> file,
as follows:</para> as follows (where <replaceable>mode</replaceable> is one of
<quote>by-id</quote> or <quote>by-path</quote>):</para>
<screen><userinput>sed -i -e 's/write_cd_aliases/&amp; by-id/' \ <screen><userinput>sed -i -e 's/write_cd_aliases/&amp; <replaceable>mode</replaceable>/' \
/etc/udev/rules.d/75-cd-aliases-generator.rules</userinput></screen> /etc/udev/rules.d/75-cd-aliases-generator.rules</userinput></screen>
<para>Note that it is not necessary to create the rules files or symlinks <para>Note that it is not necessary to create the rules files or symlinks

View File

@ -482,10 +482,10 @@
<!ENTITY texinfo-ch6-du "16.6 MB"> <!ENTITY texinfo-ch6-du "16.6 MB">
<!ENTITY texinfo-ch6-sbu "0.2 SBU"> <!ENTITY texinfo-ch6-sbu "0.2 SBU">
<!ENTITY udev-version "106"> <!ENTITY udev-version "108">
<!ENTITY udev-size "184 KB"> <!ENTITY udev-size "183 KB">
<!ENTITY udev-url "&kernel;linux/utils/kernel/hotplug/udev-&udev-version;.tar.bz2"> <!ENTITY udev-url "&kernel;linux/utils/kernel/hotplug/udev-&udev-version;.tar.bz2">
<!ENTITY udev-md5 "320ccd2d0f4540d10e021bafa14f8985"> <!ENTITY udev-md5 "67935abde67b23e7c6e86e0be77c5e4b">
<!ENTITY udev-home "&kernel;linux/utils/kernel/hotplug/udev.html"> <!ENTITY udev-home "&kernel;linux/utils/kernel/hotplug/udev.html">
<!ENTITY udev-ch6-du "5.8 MB"> <!ENTITY udev-ch6-du "5.8 MB">
<!ENTITY udev-ch6-sbu "0.1 SBU"> <!ENTITY udev-ch6-sbu "0.1 SBU">