Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Cd-rom Questions, "devicd is busy"
zbrox
post Sep 21 2003, 04:13 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 16-September 03
From: bulgaria
Member No.: 1,452



i sometimes get this with some of my not-hard-disk devices smile.gif like the cd-rom or the cd-recorder of the usb camera...i mount them...i do what i do and then i decide to unmount them cause i for example gotta stick something else in that cd-rom of mine smile.gif
but when i unmount the given device, sometimes, not all the times, it tells me that the device can not be unmounted cause it is busy...so now before i unmount a device i make sure that nothing uses the cd drive. i close the file manager that i used to see the content of the disc, i close xmms if it was playing some songs on a cd...but even when there doesn't seem to be any application using a resource from the cd, sometimes...sometimes it tells me that the device is busy...and i don't know what to do..so if i want to use my cd drive i have to reboot the system and it's ok...but that's not a fair price to pay...so i'm trying to find the reason for this so i would stop rebooting everytime this message pops up!
thank you very much in advance! i appreciate it!


--------------------
Fitter Happier
Go to the top of the page
 
+Quote Post
Joey
post Sep 21 2003, 08:55 AM
Post #2


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



Normally this happens if you are logged into a shell and in the cdrom directory.
Go to the top of the page
 
+Quote Post
hughesjr
post Sep 21 2003, 09:35 AM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



There is a program called lsof that will tell you about open files. I use this to close processes that have files open when I want to do backups...

If you have it installed, the command:

lsof

will give you a list of all open files (and other items).

If you have lsof, then the command:

lsof /mnt/cdrom will give you a list of all open files on your cdrom .... if you have a different mount point than /mnt/cdrom, use your mount point.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th October 2017 - 08:38 PM