Bug 133831 - udev is using sr0 instead of scd0
Summary: udev is using sr0 instead of scd0
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: udev
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-09-27 19:56 UTC by Dams
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version: udev-032-3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-09-28 13:25:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dams 2004-09-27 19:56:42 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2)
Gecko/20040809 Galeon/1.3.17

Description of problem:
Udev should create/use scdX instead of srX devices.

<Anvil> notting : [last time it worked] udev was creating sr0 when
loading sr_mod 
<Anvil> notting : bug again ?
<notting> yeah

Sorry if it's a bit short but heh..

Version-Release number of selected component (if applicable):


How reproducible:
Always

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

Additional info:

MAKEDEV knows nothing about sr0, but easily create scd0 and friends.
For consistency, udev should forget srX devices.

Comment 1 Harald Hoyer 2004-09-28 09:54:38 UTC
well, well, I have also bugreports, which want sr? back...

Comment 2 Dams 2004-09-28 13:12:07 UTC
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?.

Comment 3 Harald Hoyer 2004-09-28 13:25:26 UTC
done..

Comment 4 Dams 2004-09-28 14:02:53 UTC
(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.
Anyway, Thanks.


Note You need to log in before you can comment on or make changes to this bug.