/dev/cdrom got symlinked to /dev/sg0
|Reported by:||Owned by:|
The "7.4. Device and Module Handling on an LFS System" section says:
18.104.22.168. 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.