From owner-freebsd-arch Sun Jul 2 14:26:48 2000 Delivered-To: freebsd-arch@freebsd.org Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 52CCF37BE73; Sun, 2 Jul 2000 14:26:40 -0700 (PDT) (envelope-from green@FreeBSD.org) Date: Sun, 2 Jul 2000 17:26:36 -0400 (EDT) From: Brian Fundakowski Feldman X-Sender: green@green.dyndns.org To: Andrzej Bialecki Cc: dfr@freebsd.org, jlemon@freebsd.org, freebsd-arch@freebsd.org Subject: Re: UPDATE: Re: Dynamic sysctls, next round (please review) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 2 Jul 2000, Andrzej Bialecki wrote: > * module B is left with subtree hanging in void: > -static_root > NOTHING! > -node2(1) > -leaf2(1) > > I don't have any good solution for it right now, except to warn users that > they should always hang their subtrees off of static nodes. :-( There's already a good solution for this: you must always MODULE_DEPEND() upon the owner of a node which you hang things from :) Now, we just need to make sure each node is created by a module which you can MODULE_DEPEND() on, and that's not too hard! -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message