Ignore:
Timestamp:
04/16/2007 07:34:38 PM (17 years ago)
Author:
Matthew Burgess <matthew@…>
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
Message:

Upgrade to Udev-108. Fixes #1976.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/symlinks.xml

    rce33e575 r8536c02  
    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
Note: See TracChangeset for help on using the changeset viewer.