I asked how to force an umount when precess pids didnt get killed. Thanks
very much to the following:
Lucio Chiapetti
Kazuro Furukawa
Alan Davis
Sergui Patchkovskii
Lisa Wallace
Gene Huft
who mainly concentrated on using fuser -ck /mntpnt
This is effectively a forced umount but was not available in 4.0b.
However fuser.h is included and KF sent a simplified fuser.c which uses
this header file.
AD sent an elegant script which uses fuser and waits on successful
completion.
However GH said he had had good results using lsof directly and that is
available on 4.0b so I am using:
lsof /mntpnt |awk '{print $2}' | while PID
do
kill -9 $PID
done
I can mail anybody with the fuser or script stuff if requested.
stuart mckenzie
Received on Wed Sep 15 1999 - 15:01:11 NZST