PDA

View Full Version : How can I create the scd0 block device



rrfish72
09-05-2004, 03:31 AM
Trying to get my cdrom and cdrom1 working and having trouble. Now need to create a scd0 block device to continue getting my drive to work. Need to get my sr0 to point to scd0 which is my cdwriter(cdrom) and getting confused about how to do it. http://www.knoppix.net/forum/viewtopic.php?t=12510 is where I was getting this help from and got my dvd drive to work but still am unable to make correct links.

mzilikazi
09-05-2004, 02:49 PM
Trying to get my cdrom and cdrom1 working and having trouble. Now need to create a scd0 block device to continue getting my drive to work. Need to get my sr0 to point to scd0 which is my cdwriter(cdrom)

Well actually that's going about it the hard way. You don't need the multiple levels of symlinks. One will do.

rm -rf /dev/cdrom
ln -s /dev/scd0 /dev/cdrom
ls -al /dev/cdrom
lrwxrwxrwx 1 root root 9 Jun 3 17:31 /dev/cdrom -> /dev/scd0

Now you should be able to mount it. Put in a data disc (not a music disc)

mount /dev/cdrom /cdrom

Now anything that wants to use /dev/cdrom can use /dev/sr0

rrfish72
09-05-2004, 04:03 PM
Fixed it with help from cuddles and markus. Thanks for your input.