From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079072815985.tru64-unix-managers.marc@archive.invalid> From: managers account Date: Thu, 09 Sep 1999 10:03:52 +0000 To: tru64-unix-managers Subject: forced umount X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079072815985 I want to relocate the mail service from one machine to the backup. The stop script reads: /sbin/init.d/sendmail stop umount /mailmnt This fails because - within the script time of 2 mins - there are still files open on /mailmnt. LSOF shows dozens open. ps -e shows many forked sendmail processes busy trying to deliver mail to remote hosts. I have tried the following: ps -e | grep sendmail | awk '{print $1} | xargs -i kill -KILL {} which reduces files open but does not eliminate them and u also see a few sendmails left over even after executing the kill?? What I would like is an option for umount which means try to unmount the disk gracefully but - after a specified? time - unmount it anyway. man umount doesnt offer anything useful. Can anybody suggest a solution please? TIA stuart mckenzie