Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-10-2006, 04:36 AM
|
#1
|
LQ Newbie
Registered: Nov 2005
Posts: 8
Rep:
|
device is busy, cant eject drive
Hi all,
silly question here but eject tells me:
umount: /media/cdrecorder: device is busy
umount: /media/cdrecorder: device is busy
eject: unmount of `/media/cdrecorder' failed
which is obviously quite straight forward. I need to terminate the application using the drive. But how do I know which application that is? I terminated all I can think of might be using it but device is still busy. Im sure there is a good way to find what process is accessing the drive or?
I dont have root for this computer..
Running FC4
|
|
|
01-10-2006, 04:44 AM
|
#2
|
Member
Registered: Dec 2005
Location: IRAQ (BACK @ FT HOOD NOW)
Distribution: GENTOO now
Posts: 98
Rep:
|
I cant remember. I never have to use it much. I believe it is fsuser well something "user". You might want to make sure no filemanagers or shells are in the directory where you cdrom is mounted.
Dave
|
|
|
01-10-2006, 05:34 AM
|
#3
|
Senior Member
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014
Rep:
|
Hi,
that's "fuser" command to know which process uses your device
Oliv'
|
|
|
01-10-2006, 07:05 AM
|
#4
|
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515
Rep:
|
If it contains files (ie not a music CD), you may try "lsof" as well. It lists all open files/directories.
Note also that the PWD (present working directory) of none of your processes may be under the mount point (directory where the cd is mounted on, ie /mnt/cdrom, /media/cdrom or alike).
This means that, if you have for instance a terminal still open where you've cd'ed to a directory under
that mount point, you can't eject (unmount) the cdrom.
|
|
|
01-10-2006, 07:40 AM
|
#5
|
LQ Newbie
Registered: Nov 2005
Posts: 8
Original Poster
Rep:
|
solved
thanx for the solution!
|
|
|
All times are GMT -5. The time now is 08:44 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|