Opened 18 years ago

Closed 18 years ago

#1818 closed defect (fixed)

/dev/cdrom got symlinked to /dev/sg0

Reported by: alexander@… Owned by: lfs-book@…
Priority: high Milestone: 6.2
Component: Book Version: SVN
Severity: major Keywords:
Cc:

Description

The "7.4. Device and Module Handling on an LFS System" section says:


7.4.3.4. Udev creates a device incorrectly, or makes a wrong symlink

This usually happens if a rule unexpectedly matches a device. For example, a poorly-writen rule can match both a SCSI disk (as desired) and the corresponding SCSI generic device (incorrectly) by vendor. Increase the logging verbosity of Udev, find the offending rule by examining the logs and make it more specific.


Exactly this happened just now on my system with the generated rules for CD-ROM aliases.

Change History (5)

comment:1 by dnicholson@…, 18 years ago

If we use the updated udev rules Alexander created here:

http://www.linuxfromscratch.org/~alexander/udev-config/udev-config-20060607-try2.tar.bz2

Then the cdrom rules are moved to contrib/ and not installed by default. Then a note could be made on the udev page and/or Ch. 7.4 to use the contributed cdrom alias rules with caution.

comment:2 by alexander@…, 18 years ago

Oh, once again workarounds are being proposed instead of the real solution (add SUBSYSTEM=="block" to the rule). I demand immediate removal of udev from LFS on the basis that nobody understands it.

comment:4 by dnicholson@…, 18 years ago

See r7661. OK to close ticket?

comment:5 by alexander@…, 18 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.