From owner-freebsd-stable Thu Mar 13 16:30:38 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FE6737B401 for ; Thu, 13 Mar 2003 16:30:37 -0800 (PST) Received: from fubar.adept.org (fubar.adept.org [63.147.172.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42C1343FBF for ; Thu, 13 Mar 2003 16:30:36 -0800 (PST) (envelope-from mike@adept.org) Received: by fubar.adept.org (Postfix, from userid 1001) id 24FD015229; Thu, 13 Mar 2003 16:30:35 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by fubar.adept.org (Postfix) with ESMTP id 243E815227 for ; Thu, 13 Mar 2003 16:30:35 -0800 (PST) Date: Thu, 13 Mar 2003 16:30:35 -0800 (PST) From: Mike Hoskins To: stable@FreeBSD.ORG Subject: Re: ifconfig destroy In-Reply-To: <20030312204020.A28243@Odin.AC.HMC.Edu> Message-ID: <20030313162551.P753-100000@fubar.adept.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 12 Mar 2003, Brooks Davis wrote: > > What's the right way to remove pseudo-device/interfaces? I'm playing with > > a SSH/PPP tunnel, which can cause a lot of these to be created during my > > test phase. > "ifconfig destroy" only works on devices created via "ifconfig > create" and tun devices haven't been converted to do that yet. Care to break out the cluebat and whack the right way into my head? The problem was, during my experimentation I ended up exhausting tun* pseudo-devs because they never got cleaned up. Nothing in tun(4) seemed to help and 'destroy' and 'deletetunnel' from ifconfig(8) aren't right. -mrh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message