From owner-freebsd-current Sun Dec 1 18:26:54 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA13335 for current-outgoing; Sun, 1 Dec 1996 18:26:54 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA13327 for ; Sun, 1 Dec 1996 18:26:49 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id NAA07079; Mon, 2 Dec 1996 13:14:50 +1100 Date: Mon, 2 Dec 1996 13:14:50 +1100 From: Bruce Evans Message-Id: <199612020214.NAA07079@godzilla.zeta.org.au> To: archie@whistle.com, freebsd-current@freebsd.org Subject: Re: /dev/tun0 question Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Try the following command (if you have a tunnel device configured).. > > cat < /dev/tun0 > >The process gets stuck in disk wait and can't be killed, even with >kill -9 .. how come? tunread() sleeps uninterruptibly. This should be easy to fix - just add PCATCH to the tsleep flags and return if the sleep is interrupted. There seems to be no state to clean up. Bruce