Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 1999 02:11:29 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        brian@Awfulhak.org (Brian Somers)
Cc:        imp@village.org, freebsd-arch@freebsd.org, brian@hak.lan.Awfulhak.org
Subject:   Re: The if_detach problem
Message-ID:  <199912150211.TAA17174@usr08.primenet.com>
In-Reply-To: <199912142145.VAA34161@hak.lan.Awfulhak.org> from "Brian Somers" at Dec 14, 99 09:45:36 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> Is there a lot to be gained by removing interfaces ?

Yes.  You can then unplug the hardware that they represent.


> I would think that losing an interface would mean the existence of an 
> interface number with no interface (this may break code that caches 
> interface number-to-name information (ppp(8)... I thought about this 
> when I wrote the code, but I've never tested it)).

"Caching considered harmful".  8-).

> I would also think that adding another interface would get the 
> deallocated interface number again.... this'll kill any program that 
> thinks it can cache this sort of info (ppp(8)).
> 
> I guess ppp could be changed to not cache this sort of stuff....

Yes.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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