umount : fs busy

Jon A. Tankersley zjat02 at apctrc.UUCP
Thu Sep 8 03:14:31 AEST 1988


Tis simple...


Something somewhere has a file/directory open/accessed on that file system.

Mount something in /mnt.  cd /mnt/whatever.  umount /mnt.
it will fail.  A shell has . accessed as the current directory....

There is fuser or ofiles programs available in various places.  I don't
have fuser and ofiles has some bugs (doesn't do nfs mounts well).

Also - bug alert on SunOS 3.X...

rc.boot trashes /etc/mtab before running /etc/umount -at nfs.  This leaves
potential garbage on remote systems /etc/rmtab (remote mtab).  4.0 has
fixed the problem.
Moving the umount up before the trashing of mtab won't fix the problem because
the enternet needs to be started also....  Sigh.

-tank-
-- 
#include <disclaimer.h>		/* nobody knows the trouble I .... */



More information about the Comp.unix.questions mailing list