tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: managers account <managers () 2100-1 ! mcb ! net>
To: tru64-unix-managers
Subject: SUMMARY : forced umount
Date: Wed, 15 Sep 1999 14:58:23 +0000	[thread overview]
Message-ID: <96079072816101.tru64-unix-managers.marc@archive.invalid> (raw)


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

                 reply	other threads:[~1999-09-15 14:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox