Red Hat Bugzilla – Bug 527123
Changing DVD Drives Results in No /dev cdrom nor dvd Link
Last modified: 2010-03-17 13:21:24 EDT
In my original install of Fedora 11, I had one IDE connected DVD RW drive. The drive went bad so I replaced it with a SATA DVD RW drive. The /dev/cdrom, etc. links did not update to point to the new device -- breaking many applications that expect those links to be there.
Searching for a solution online is difficult because any search with "fedora" and "dvd" in it generally returns results on how to install fedora.
I eventually figured out to "ls -l /dev/disk/by-path/" to get the replacement ID_PATH to put into /etc/udev/rules.d/70-persistent-cd.rules and to "echo add > /sys/class/block/sr0/uevent" to get the devices to be created, but I doubt that normal users would get to that point.
I had been manually creating symlinks but of course those would get deleted on each reboot.
One could argue this is a corner case: Normal users probably would not be replacing hardware themselves, and replacing a DVD drive is not a common occurrence into its self.
To me a perfectly fine solution would be if 70-persistent-cd.rules had in the comments how to fix the file when new hardware was added or changed. I tried to figure out the "write_cd_rules" program mentioned in said file...but could never figure out how to get that program to work.
Thanks for your time and help.
*** This bug has been marked as a duplicate of bug 570561 ***
A simple work-around is to remove /etc/udev/rules.d/70-persistent-cd.rules and restart. (Bug 570490, Comment 13)
"... breaking many applications that expect those links to be there."
Bill: Could you list some of those applications?
Bug 570490 - /dev/cdrom not created after optical drive replaced
Boy it has been a while. I should have named the program. I usually use abcde and tscat...and obviously I can change the path to the device on those easily. Whatever program I was using did not have an intuitive/easy way to change the device path. I'll dig in my brain to see if I can remember. I think it was VirtualBox OSE because there is no GUI way to change the DVD/CDROM device that I have found.
(In reply to comment #3)
> Boy it has been a while. I should have named the program. I usually use abcde
> and tscat...and obviously I can change the path to the device on those easily.
> Whatever program I was using did not have an intuitive/easy way to change the
> device path. I'll dig in my brain to see if I can remember. I think it was
> VirtualBox OSE because there is no GUI way to change the DVD/CDROM device that
> I have found.
Thanks, Bill. I found abcde. tscat doesn't seem to be available in the F12 or rpmfusion repos. Still looking at VirtualBox OSE.
(Bug 570490, Comment 25)