From owner-freebsd-hackers Wed Jan 6 19:46:57 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA25944 for freebsd-hackers-outgoing; Wed, 6 Jan 1999 19:46:57 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA25938 for ; Wed, 6 Jan 1999 19:46:55 -0800 (PST) (envelope-from tlambert@usr09.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id UAA16815; Wed, 6 Jan 1999 20:46:16 -0700 (MST) Received: from usr09.primenet.com(206.165.6.209) via SMTP by smtp02.primenet.com, id smtpd016728; Wed Jan 6 20:46:12 1999 Received: (from tlambert@localhost) by usr09.primenet.com (8.8.5/8.8.5) id UAA12014; Wed, 6 Jan 1999 20:45:44 -0700 (MST) From: Terry Lambert Message-Id: <199901070345.UAA12014@usr09.primenet.com> Subject: Re: How do I ... To: imp@village.org (Warner Losh) Date: Thu, 7 Jan 1999 03:45:43 +0000 (GMT) Cc: peter@netplex.com.au, hackers@FreeBSD.ORG In-Reply-To: <199812290558.WAA23091@harmony.village.org> from "Warner Losh" at Dec 28, 98 10:58:00 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-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I suspect that you are right. I had hoped to get away from > understanding those internals. It may make sense to have a "if_dead" > that is similar to deadfs where all "orphaned" interfaces go when they > die. Hmmm, I'll have to look at this more closely.... This is the wrong way to do this, BTW. The deadfs code is an artifact of the stupid struct fileops crap. Otherwise, it'd be possible to reference the list of "struct file"'s that have the vnode open, and you wouldn't need deadfs. 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-hackers" in the body of the message