[PLUG] umount in-use fs
Eric Wilhelm
scratchcomputing at gmail.com
Sun May 7 20:43:11 UTC 2006
# from Jason R. Martin
# on Sunday 07 May 2006 01:23 pm:
>The most common reason (for me) that I get the device busy errors is
>because I have a shell window open where the current working directory
>is inside the mounted device filesystem.
Seems like something similar came up recently related to moving or
removing a directory while it is in use. This of course doesn't bother
a lot of running programs, but can also lead to interesting behavior.
If you have a /proc/, (e.g. most modern *nix), this script might be of
use:
http://scratchcomputing.com/svn/misc/trunk/code/perl/bin/cwd_proc
--Eric
--
Chicken farmer's observation: Clunk is the past tense of cluck.
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------
More information about the PLUG
mailing list