Unmount busy drives

by Sanju 2009-12-17 17:33:31

Unmount busy drives

When you are trying to unmount a drive, but keep getting told by your system that it's busy. But what application is tying it up? A quick one-liner will tell you:

lsof +D /mnt/windows


This will return the command and process ID of any tasks currently accessing the /mnt/windows directory. You can then locate them, or use the kill command to finish them off.

Tagged in:

1134
like
0
dislike
0
mail
flag

You must LOGIN to add comments