Andrew Sackville-West wrote:
On Fri, Apr 07, 2006 at 05:53:06PM -0700, charles norwood wrote:
  
On Fri, 2006-04-07 at 16:22 -0500, Hugo Vanwoerkom wrote:
    
Hi,

I do:

umount /hda14

and get:

umount: /hda14: device is busy
umount: /hda14: device is busy


Is there a way of finding out *why* it is busy? Obviously it is linked 
to someplace, but where?

Thanks!

H


      
Try mount with no arguments.  It lists mounted mount points.
    


I am embarrassed to admit that many times my cli is sitting in the very
directory I'm trying to umount.

for example.

[EMAIL PROTECTED]:~$ mount
[...]
/dev/hdb7 on /home type ext3 (rw)
[...]
[EMAIL PROTECTED]:~$ sudo umount /home
Password:
umount: /home: device is busy
umount: /home: device is busy


Its happened more than once. :)

A

  
-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

    


  
  To view process which use /home, Use fuser command

$> fuser /home

if you want to kill process use
$> fuser -k /home

and then you can umount fine.
begin:vcard
fn:Surachai Locharoen
n:Locharoen;Surachai
email;internet:[EMAIL PROTECTED]
note:If you can't explain it simply, you don't understand it well enough. (Albert Einstein)
x-mozilla-html:TRUE
version:2.1
end:vcard

Reply via email to