LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-25-2005, 01:01 PM   #1
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Rep: Reputation: 32
cannot unmount dvd drive


I got this new program going called k9copy. It is wonderful, its like DVD Shrink for kde and its brilliant.

When I'm done, however, I cannot eject the dvd. I cannot unmount it actually, even as root. Error window says that it is busy but the k9copy program is closed (and, by extension, its subprocesses should be too). What might I need to do to really kill off all of the processes using it? This is on a MEPIS box (Debian).
 
Old 10-25-2005, 01:32 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,294

Rep: Reputation: 138Reputation: 138
The fuser command sometimes works. As root run:

# fuser -km <path to device file>

It would probably be this in your case:

# fuser -km /dev/dvd

but check your device files in /dev. Usually, /dev/dvd is just a symlink to the actual drive which is /dev/hdx where 'x' is determined by the position of the dvd drive on the ide bus.
 
Old 10-25-2005, 02:45 PM   #3
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
If you are curious what has the device open you can use lsof to find out.

lsof | grep /dev/dvd



you can try a lazy unmount to unmount the device.

umount -l /media/dvd



I usually find it's something like famd (File Alteration Monitor) that still has the device open, in cases where it doesn't want to unmount. I've been known to restart famd to release a device..

/etc/init.d/famd stop && /etc/init.d/famd start



just a couple other options.
 
Old 10-25-2005, 03:28 PM   #4
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Original Poster
Rep: Reputation: 32
thanks you two! I'll try those when i get to my box.
 
Old 10-25-2005, 03:30 PM   #5
KnightHawk
Member
 
Registered: Aug 2005
Posts: 128

Rep: Reputation: 15
What about the simple and most common answer? Or well maybe this is just me....


But usually when I can't unmount a drive its because my current working directory is a directory on the drive I'm trying to unmount.
 
Old 10-27-2005, 06:00 PM   #6
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Original Poster
Rep: Reputation: 32
interesting... if i'm not in a shell, how would i know my pwd? how to change it?
 
  


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
Unmount USB Drive stevsom Linux - General 2 05-15-2005 12:21 AM
flash drive won't unmount MiniMe001 Linux - Software 3 11-12-2004 08:36 PM
Can't unmount CD-ROM drive WorldBuilder Linux - General 9 08-29-2004 12:21 AM
can't unmount my cdrom drive (says it's busy) fabs Linux - Hardware 2 02-23-2004 12:12 AM
do I need to unmount a hard drive? d'oh! Linux - Newbie 3 02-11-2004 03:28 PM


All times are GMT -5. The time now is 06:49 AM.

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