Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147850 - udev-100-r2 creates incorrect /dev/cdrom* and /dev/dvd* symlinks
Summary: udev-100-r2 creates incorrect /dev/cdrom* and /dev/dvd* symlinks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: udev-meta
  Show dependency tree
 
Reported: 2006-09-16 13:36 UTC by Andy Wang
Modified: 2006-10-05 13:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Wang 2006-09-16 13:36:28 UTC
I'm trying out the latest udev-100-r2 ebuild because the current stable ebuild doesn't do the right thing with /dev symlinks for multiple CD/DVD devices.

udev-100-r2 is closer, but not quite:
I have two DVD burners.  One on /dev/hda and the other on /dev/hdc.  The symlinks that udev created are:

lrwxrwxrwx 1 root root 3 Sep 16 10:26 cdrom -> hda
lrwxrwxrwx 1 root root 3 Sep 16 10:26 cdrom1 -> hda
lrwxrwxrwx 1 root root 3 Sep 16 10:26 cdrw -> hda
lrwxrwxrwx 1 root root 3 Sep 16 10:26 cdrw1 -> hda

lrwxrwxrwx 1 root root 3 Sep 16 10:26 dvd -> hdc
lrwxrwxrwx 1 root root 3 Sep 16 10:26 dvd1 -> hda
lrwxrwxrwx 1 root root 3 Sep 16 10:26 dvdrw -> hdc
lrwxrwxrwx 1 root root 3 Sep 16 10:26 dvdrw1 -> hda

I thought it was odd that dvd*1 went to the hda and the non-numbered dvd* went to hdc.
And the cd* nodes all went to hda.
Comment 1 Andy Wang 2006-09-16 17:25:20 UTC
This might be related to bug 128601 as I just rebooted and now my /dev symlinks look like:
lrwxrwxrwx 1 root root 3 Sep 16 14:06 cdrom -> hdc
lrwxrwxrwx 1 root root 3 Sep 16 14:06 cdrom1 -> hdc
lrwxrwxrwx 1 root root 3 Sep 16 14:06 cdrw -> hdc
lrwxrwxrwx 1 root root 3 Sep 16 14:06 cdrw1 -> hdc
lrwxrwxrwx 1 root root 3 Sep 16 14:06 dvd -> hdc
lrwxrwxrwx 1 root root 3 Sep 16 14:06 dvd1 -> hdc
lrwxrwxrwx 1 root root 3 Sep 16 14:06 dvdrw -> hdc
lrwxrwxrwx 1 root root 3 Sep 16 14:06 dvdrw1 -> hdc

Everything's pointing to hdc.
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-10-05 13:33:57 UTC
If they are pointing to the "wrong" drive, then please edit the auto-generated file, /etc/udev/rules.d/70-persistent-cd.rules that are created for you.