What you need to do is comment out these lines in /etc/devfsd.conf file for cdrom. Once done, use kill -1 <devfsd pid> , then remove the cdrom link and you should be able to create the new link.
#LOOKUP ^cdrom$ CFUNCTION GLOBAL symlink cdroms/cdrom0 $devpath #REGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL symlink cdroms/cdrom0 cdrom #UNREGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL unlink cdrom Bunty On Thursday 18 October 2001 12:37 pm, you wrote: > Hi, > > After a fresh install of 8.1, I'm having trouble playing audio cds. I > checked /dev and found that /dev/cdrom was pointing to a non-existent > device. To wit: > > [root@thunderchicken dev]# ls -l cdrom > lr-xr-xr-x 1 root root 16 Oct 18 15:08 cdrom -> > ./cdroms/cdrom0 > > This is a non-existent device. I know the cd reads regular cds as > /dev/hdb, so I look to see where that's linked. It points to: > > hdb -> ide/host0/bus0/target1/lun0/cd > > cdrom4 similarly points to: > > cdrom4 -> ../ide/host0/bus0/target1/lun0/cd > > Telling an audiocd program (for example, the basic one in gnome) to play > /dev/cdrom4 makes the cd play. The problem is, as you surely know, most > programs look to /dev/cdrom for the cd. > > Finally, my question. How do I point /dev/cdrom to the proper device? > I tried to remove the dead link and re-link it, but automagically the > old link shows up and I'm told that the file already exits when I try to > symlink. Have I done too many drugs? Am I missing something > fundamental here? How can I get /dev/cdrom to point to the cdrom? > > TIA > > Bob
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com