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.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to