LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-20-2002, 12:50 PM   #1
okok
Member
 
Registered: Jan 2002
Posts: 100

Rep: Reputation: 15
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
 
Old 02-20-2002, 01:07 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,379

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
/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.
 
Old 02-20-2002, 02:26 PM   #3
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
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.
 
Old 02-20-2002, 02:32 PM   #4
okok
Member
 
Registered: Jan 2002
Posts: 100

Original Poster
Rep: Reputation: 15
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.
 
Old 04-09-2003, 01:06 AM   #5
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 428

Rep: Reputation: 30
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
 
Old 04-09-2003, 10:11 AM   #6
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
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.

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CDROM mounting problem => /dev/cdrom is not a valid block device Vizy Linux - Hardware 8 11-04-2010 04:46 PM
CDROM refuses to mount, /dev/cdrom does not exist shane25119 Linux - Hardware 10 08-02-2009 10:43 PM
/mnt/cdrom & /mnt/scd0 locks up machine RIgimp75 Mandriva 7 09-01-2003 09:32 PM
How to release /dev/cdorm or mount point (/mnt/cdrom) after doing this : norman68 Linux - Software 3 07-02-2003 06:07 PM
How to release /dev/cdorm or mount point (/mnt/cdrom) after doing this : norman68 Linux - General 1 07-02-2003 12:14 PM


All times are GMT -5. The time now is 11:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration