From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079072816101.tru64-unix-managers.marc@archive.invalid> From: managers account Date: Wed, 15 Sep 1999 14:58:23 +0000 To: tru64-unix-managers Subject: SUMMARY : forced umount X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079072816101 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