[lfs-support] LFS 7.2 missing file 75-cd-aliases-generator.rules

Lewis Pike phaselocker at gmail.com
Mon Sep 10 17:12:26 PDT 2012


On Mon, Sep 10, 2012 at 03:36:50PM -0500, Bruce Dubbs wrote:
> You are right.  That section needs to be updated.
> 
> Look in /dev/disk/by-id/.  You should see a cd or dvd device.  In my
> case, I have:
> 
> disk/by-id/ata-PLDS_DVD+_-RW_DH-16A6S -> ../../sr0
> 
> If I do udevadm test /sys/block/sr0, I see
> 
> LINK 'cdrom' /usr/libexec/udev/rules.d/60-cdrom_id.rules:18
> 
> does that not work for you?

In my case I have:

/dev/disk/by-id/ata-TSSTcorp_CD-RW_DVD-ROM_TS-H492C -> ../../sr0

The output of udevadm test /sys/block/sr0 includes the line

LINK 'cdrom' /lib/udev/rules.d/60-cdrom_id.rules:18

I have yet to complete this LFS build and boot the system, but the
above output suggests that /dev/cdrom will be symlinked directly to
./sr0 by udev.  There is nothing to suggest that /dev/dvd will be
similarly symlinked to ./sr0, however.

Admittedly, my knowledge of udev configuration is sketchy.  As I only
have a single optical drive and it is rarely used, I will simply carry
on with the build.  I will return to section 7.5 once it has been
revised.



More information about the lfs-support mailing list