LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CD problems: /mnt/cdrom and /dev/cdrom (https://www.linuxquestions.org/questions/linux-newbie-8/cd-problems-mnt-cdrom-and-dev-cdrom-14711/)

okok 02-20-2002 12:50 PM

CD problems: /mnt/cdrom and /dev/cdrom
 
While I can access data CDs at /mnt/cdrom, Mandrake's software manager looks for CDs at /dev/cdrom.

Even when the correct CD is inserted, mounted and accessible otherwise, the software manager keeps asking to insert it at /dev/cdrom.

There is another problem with my CD, that might or might not be related to this one: sometimes, when I try to take a CD out and try to unmount it, the response to umount is that the device is busy. I have no idea how to get rid of that.

Any ideas?

Thanks

acid_kewpie 02-20-2002 01:07 PM

/dev/cdrom is a device file, whilst /mnt/cdrom is a mountpoint. rpmdrake will just use the device directly, and extract data by making it's own temporary mountpoint. make sure you do have the /dev/cdrom link on your system, if not, create the link:

ln -s /dev/hdX /dev/cdrom

where X is the letter corresponding to the ide channel it is conencted to ie.e a, b, c or d.

J_Szucs 02-20-2002 02:26 PM

My Mandrake software manager also did such things until I was advised here to remove all rpm sources and then redefine then.
I did it, and ever since I have no problems with the software manager.

okok 02-20-2002 02:32 PM

could you explain what you mean?
 
Hi, thanks. I did not understand what you meant. Could you please tel me exactly what you did?

Thank you very much!

Quote:

Originally posted by J_Szucs
My Mandrake software manager also did such things until I was advised here to remove all rpm sources and then redefine then.
I did it, and ever since I have no problems with the software manager.

tigerflag 04-09-2003 01:06 AM

I have the exact same problem,
 
I've tried making a symlink as described above, but it didn't work. I tried making a symlink by doing:
ls -sf /dev/sda /dev/hdc .
It didn't work so I tried:
ls -sf /dev/scd0 /dev/hdc .
Still didn't work. Wouldn't I need to remove any symlink that doesn't work before making another one?
What is the command to remove them so I can re-do it? I still struggle with command-line...

Fstab shows my cdrom is /dev/scd0.
Dmesg calls it device sda.

What would be the correct way to write it?

TIA,
Siri Amrit

Genesee 04-09-2003 10:11 AM

Re: CD problems: /mnt/cdrom and /dev/cdrom
 
Quote:

Originally posted by okok
sometimes, when I try to take a CD out and try to unmount it, the response to umount is that the device is busy. I have no idea how to get rid of that.

check to see that no other programs are accessing the cdrom - an example is a terminal having a pwd of the cdrom (ie, you had done a cd into /mnt/cdrom/whatever, and didn't cd back 'out' of the cdrom), or same for file manager or whatever you use to access files.

:cool:


All times are GMT -5. The time now is 08:48 PM.