LinuxQuestions.org
Register a domain and help support LQ
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 08-07-2004, 10:17 PM   #1
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Rep: Reputation: 15
Weird problem with CD drive


When I put in a CD, I can use it fine.... but somehow Libranet won't let me eject it... I have to restart it before I can eject it... also when I try to unmount the device it says that resource is busy.... Any ideas?

btw I'm using Libranet 2.8.1
 
Old 08-07-2004, 10:21 PM   #2
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
try typing "eject" (as root), that's always worked for me.

you can't unmount if you're in the directory, so first make sure you're somewhere else before issuing the command.
 
Old 08-07-2004, 10:25 PM   #3
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
"The resource is busy" means that some process is pointing to the device. You have to make sure no process or program is using any file from the cd.
Here in my suse, when it was 9.0, I found out that a preloaded instance of konqueror would prevent me from unmouting cd's. So, I killed those instances and I could unmount.
 
Old 08-07-2004, 10:32 PM   #4
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Original Poster
Rep: Reputation: 15
eject worked! hmmm and it showed me what the problem is, only I still don't know how to fix it... It seems that my CD ROM drive won't simply eject if it is still mounted, so I have to unmount it first before it will eject by pressing the eject button.... Is this normal? Why doesn't it unmount the device when I press the eject button?
 
Old 08-07-2004, 10:59 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,929

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Yes it is normal. When a CD is mounted the drive is locked and the eject button does not work. Before the unmount command will work you need to close any application that is accessing the drive including file browsers and console windows (make sure the current working directory is other then the CDROM drive).

The mount command attaches the file system i.e the data on the CD to the big file tree. The unmount command well detach the files system.
 
Old 08-07-2004, 11:10 PM   #6
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Original Poster
Rep: Reputation: 15
ahhhh I see, so I guess I don't have any problem. It's just that my friends use my PC too and they aren't really used to Linux and I thought that they will complain about the CDROM not ejecting... But screw them.. LOL i kid... hehe thanks for the help guys
 
Old 08-08-2004, 12:33 AM   #7
valencequark
Member
 
Registered: Aug 2004
Location: greater dc metro area
Distribution: various, mostly fedora
Posts: 79

Rep: Reputation: 16
Quote:
Originally posted by pablowablo
ahhhh I see, so I guess I don't have any problem. It's just that my friends use my PC too and they aren't really used to Linux and I thought that they will complain about the CDROM not ejecting... But screw them.. LOL i kid... hehe thanks for the help guys
you should be able to use the chmod command to adjust the permissions of the cdrom, so that any user can umount it.

-vq
 
Old 08-08-2004, 02:06 AM   #8
binny959
Member
 
Registered: Jul 2004
Distribution: Debian (squeeze)
Posts: 31

Rep: Reputation: 15
whats the command to close cdrom drive through shell??? while we're on this subject
 
  


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
Weird hard drive issue positrox Linux - Hardware 1 12-01-2005 07:34 AM
weird drive/partition names truthe Linux - Hardware 3 11-14-2004 06:10 PM
Weird CD-ROM drive problem Malakim Linux - Hardware 10 10-24-2004 04:28 PM
Weird, weird apache2 problem atheist Debian 1 09-17-2004 09:26 PM
Weird Problem with Mandrake and my Hard Drive Books Linux - Newbie 3 08-29-2004 12:21 AM


All times are GMT -5. The time now is 05:48 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration