Changeset 8536c02
- Timestamp:
- 04/16/2007 07:34:38 PM (17 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- a728d16
- Parents:
- ce33e575
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
rce33e575 r8536c02 41 41 <itemizedlist> 42 42 <listitem> 43 <para>[matthew] - Upgrade to Udev-108. Fixes 44 <ulink url="&lfs-ticket-root;1976">#1976</ulink>.</para> 45 </listitem> 46 <listitem> 43 47 <para>[matthew] - Upgrade to Man-pages-2.44. Fixes 44 48 <ulink url="&lfs-ticket-root;1987">#1987</ulink>.</para> -
chapter06/udev.xml
rce33e575 r8536c02 54 54 <para>Compile the package:</para> 55 55 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> 60 57 61 58 <variablelist> … … 65 62 <term><parameter>EXTRAS=...</parameter></term> 66 63 <listitem> 67 <para>This builds severalhelper binaries that can aid in writing custom64 <para>This builds the helper binaries that can aid in writing custom 68 65 Udev rules.</para> 69 66 </listitem> … … 80 77 <para>Install the package:</para> 81 78 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> 87 80 88 81 <variablelist> -
chapter07/symlinks.xml
rce33e575 r8536c02 24 24 decide which of two modes of operation you wish to have the script use.</para> 25 25 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 32 33 <command>ata_id</command> or <command>scsi_id</command> programs, depending 33 34 on which type of device you have.</para> … … 70 71 ID_REVISION. The <quote>by-path</quote> mode will use the ID_PATH value.</para> 71 72 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 75 75 <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> 77 78 78 <screen><userinput>sed -i -e 's/write_cd_aliases/& by-id/' \79 <screen><userinput>sed -i -e 's/write_cd_aliases/& <replaceable>mode</replaceable>/' \ 79 80 /etc/udev/rules.d/75-cd-aliases-generator.rules</userinput></screen> 80 81 -
packages.ent
rce33e575 r8536c02 483 483 <!ENTITY texinfo-ch6-sbu "0.2 SBU"> 484 484 485 <!ENTITY udev-version "10 6">486 <!ENTITY udev-size "18 4KB">485 <!ENTITY udev-version "108"> 486 <!ENTITY udev-size "183 KB"> 487 487 <!ENTITY udev-url "&kernel;linux/utils/kernel/hotplug/udev-&udev-version;.tar.bz2"> 488 <!ENTITY udev-md5 " 320ccd2d0f4540d10e021bafa14f8985">488 <!ENTITY udev-md5 "67935abde67b23e7c6e86e0be77c5e4b"> 489 489 <!ENTITY udev-home "&kernel;linux/utils/kernel/hotplug/udev.html"> 490 490 <!ENTITY udev-ch6-du "5.8 MB">
Note:
See TracChangeset
for help on using the changeset viewer.