before forcing question

Hi,

the problem is
Code:
# umount /data
umount: unmount of /data failed: Device busy

And here is the question: how to find out who keeps this device busy ?

Or is there another way to find what will happen if I use "-f" to unmount the device?
 
you can just type pwd to see where are you. common mistake for me - umount usb while in dir where is mounted (dull)
 
# fstat /data

gives empty line
Code:
USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W NAME

but:
# fstat -v /data

returns
Code:
...
unknown file type 5 for file 13 of pid 1128
can't read vnode at 0x0 for pid 45
can't read vnode at 0x0 for pid 44
...

and do this mean that i have to kill all these processes to unlock the mounted device?
 
Back
Top