destroying tunN

Brooks Davis brooks at one-eyed-alien.net
Tue Jun 13 00:58:55 UTC 2006


On Mon, Jun 12, 2006 at 08:47:10PM -0400, David Gilbert wrote:
> first off, why don't if_tun devices destroy themselves when the owner
> closes the device?

Historical behavior.  I suspect many people would be very suprised it
they automaticly vanished, but there's some argument that's the right
thing to do.

> But... aslo, why can't I 'unplumb' an unused tunN device with
> ifconfig?

Because they aren't hooked to the interface cloning system since their
auto creation code predates it.  This should be fixed, but is more
difficult than for a staticly compiled interface due to the existing
cloning code.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20060613/b7e38c41/attachment.pgp


More information about the freebsd-hackers mailing list