On Thursday 31 May 2007 09:32, James Hatridge wrote: > Hi all, > > Sometimes I have a CD/DVD go bad etc and it will not come out of the CD > reader. As root I try the eject command and it will not work saying that > the CD is busy. So far I've ended up rebooting to get the !"ยง$ CD out. Is > there a way to force the eject command to work without rebooting?
It seems that some processes "hold" the ejection of your CD ROM unit. What you can do is an: lsof -i -P -n | grep "/dev/hdx" or lsof -i -P -n | grep "/media/WHEREYOURCDROMISMOUNTED" This will give you the list of processes that hold your CD. Good luck ! -- David Salgado [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
