Red Hat Bugzilla – Bug 133831
udev is using sr0 instead of scd0
Last modified: 2007-11-30 17:10:50 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2)
Description of problem:
Udev should create/use scdX instead of srX devices.
<Anvil> notting : [last time it worked] udev was creating sr0 when
<Anvil> notting : bug again ?
Sorry if it's a bit short but heh..
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Grab an scsi or usb cdrom device.
2. Plug it. And modprobe sr_mod if it's not autoloaded.
3. ls -l /dev/cdrom
Actual Results: /dev/cdrom points to /dev/sr0
Expected Results: /dev/cdrom should point to /dev/scd0
MAKEDEV knows nothing about sr0, but easily create scd0 and friends.
For consistency, udev should forget srX devices.
well, well, I have also bugreports, which want sr? back...
I dont care the one you want to use. But just be consistent.
udev shouldnt use sr? while MAKEDEV only knows about scd?.
So, please, make a choice. /me votes for keeping scd?.
(rereading my last comment). Sorry if i sounded a bit harsh. I only
want to say that whatever was chosen, both udev and makedev should use it.