Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2003 16:30:35 -0800 (PST)
From:      Mike Hoskins <mike@adept.org>
To:        stable@FreeBSD.ORG
Subject:   Re: ifconfig destroy
Message-ID:  <20030313162551.P753-100000@fubar.adept.org>
In-Reply-To: <20030312204020.A28243@Odin.AC.HMC.Edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <if> destroy" only works on devices created via "ifconfig <if>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030313162551.P753-100000>