From owner-freebsd-arch Tue Dec 14 18:12:49 1999 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id D239D15282 for ; Tue, 14 Dec 1999 18:12:43 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id DAA15194 for ; Wed, 15 Dec 1999 03:12:38 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id DAA67618 for freebsd-arch@freebsd.org; Wed, 15 Dec 1999 03:12:37 +0100 (MET) Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (Postfix) with ESMTP id 3DC30153C4 for ; Tue, 14 Dec 1999 18:12:17 -0800 (PST) (envelope-from tlambert@usr08.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.9.3/8.9.3) id TAA23927; Tue, 14 Dec 1999 19:11:58 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp01.primenet.com, id smtpdAAA7aa4uU; Tue Dec 14 19:11:37 1999 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id TAA17174; Tue, 14 Dec 1999 19:11:29 -0700 (MST) From: Terry Lambert Message-Id: <199912150211.TAA17174@usr08.primenet.com> Subject: Re: The if_detach problem To: brian@Awfulhak.org (Brian Somers) Date: Wed, 15 Dec 1999 02:11:29 +0000 (GMT) Cc: imp@village.org, freebsd-arch@freebsd.org, brian@hak.lan.Awfulhak.org In-Reply-To: <199912142145.VAA34161@hak.lan.Awfulhak.org> from "Brian Somers" at Dec 14, 99 09:45:36 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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