Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177105 - udev-104-r12 missing symlink to /dev/cdrom when using libata driver
Summary: udev-104-r12 missing symlink to /dev/cdrom when using libata driver
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: nm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-05 00:05 UTC by crusaderky
Modified: 2007-06-05 19:14 UTC (History)
2 users (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 crusaderky 2007-05-05 00:05:52 UTC
I'm running udev-104-r12 and linux-2.6.21-gentoo and I've got a PATA cdrom and PATA hard disks.

After upgrading from the old PATA kernel driver to the new libata implementation shared with SATA, I had to  move from the PATA cdrom driver to the SCSI one.

the device name changed from

from /dev/hdc   to /dev/sr0
from /dev/cdrom to /dev/cdrom1

however, a lot of applications (i.e. media-sound/rip) look for /dev/cdrom by default. I recommend to create a symlink to reduce transition problems:

ln -s /dev/cdrom1 /dev/cdrom
Comment 1 Matthias Schwarzott gentoo-dev 2007-05-05 15:55:50 UTC
That behaviour is known, but as far as I think our acting range is limited.
You get to know why, if you look into /etc/udev/rules.d/70-persistent-cd.rules.

There you can see the assignment of the names to cdrom devices.
Best you attach that file here.

Easiest solution: Edit the file to assign the correct name.
We should add that bug to a FAQ list for udev - as I think it will come up more often next time.
Comment 2 Matthias Schwarzott gentoo-dev 2007-06-05 13:14:25 UTC
@doc-team:
Where should we put such FAQ stuff for udev?
Comment 3 Xavier Neys (RETIRED) gentoo-dev 2007-06-05 13:48:45 UTC
(In reply to comment #2)
> @doc-team:
> Where should we put such FAQ stuff for udev?

http://www.gentoo.org/doc/en/udev-guide.xml comes to mind
Comment 4 nm (RETIRED) gentoo-dev 2007-06-05 19:14:50 UTC
Added a FAQ for this to the udev guide.

Fixed in CVS.