From owner-freebsd-questions Sun Mar 4 17:29:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtpe.casema.net (smtpe.casema.net [195.96.96.172]) by hub.freebsd.org (Postfix) with SMTP id 7D96A37B719 for ; Sun, 4 Mar 2001 17:29:30 -0800 (PST) (envelope-from walter@binity.com) Received: (qmail 23458 invoked from network); 5 Mar 2001 01:29:28 -0000 Received: from unknown (HELO slash.b118.binity.net) (195.96.105.172) by smtpe.casema.net with SMTP; 5 Mar 2001 01:29:28 -0000 Received: from tsunami.b118.binity.net (tsunami.b118.binity.net [172.18.3.10]) by slash.b118.binity.net (Postfix) with ESMTP id F3C0110F; Mon, 5 Mar 2001 02:28:52 +0100 (CET) Date: Mon, 5 Mar 2001 02:30:50 +0100 From: Walter Hop X-Mailer: The Bat! (v1.49) Educational X-Priority: 3 (Normal) Message-ID: <58127691761.20010305023050@binity.com> To: Kris Kennaway Cc: FreeBSD Questions Subject: Re: tar just doesn't want to be KILLed In-reply-To: <20010304172518.B41178@mollari.cthul.hu> References: <139127338372.20010305022456@binity.com> <20010304172518.B41178@mollari.cthul.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [in reply to kris@obsecurity.org, 05-03-2001] >> 1. there's no way to get rid of an instance of tar (that's probably >> waiting for some IO to complete? >> 2. there's no way to umount a mount point held by such a process? > > No and no. See the KILL signal, and the -f option to umount. Sorry, I should have provided more information, but thought it too obvious. slash:~# killall -KILL tar slash:~# ps waux | grep tar root 8975 0.0 0.1 548 0 p0- DE 4:03AM 2:14.08 tar cvfl /mnt/dump/root.tar / slash:~# umount -f /mnt/dump umount: unmount of /mnt/dump failed: Device busy [btw, /mnt/dump is a dead NFS mount and tar is in the 'sbwait' state] -- The more aggressively you search for the most profound experience of your life, the more rigid, narrowing, dispiriting and routine it becomes. -- Matthew Klam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message