From owner-freebsd-hackers Fri Jul 20 22:53:10 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.gnf.org (firewall.gnf.org [208.44.31.34]) by hub.freebsd.org (Postfix) with ESMTP id 7003237B401; Fri, 20 Jul 2001 22:53:08 -0700 (PDT) (envelope-from gordont@gnf.org) Received: by mail.gnf.org (Postfix, from userid 888) id F1CA511E50E; Fri, 20 Jul 2001 22:48:18 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.gnf.org (Postfix) with ESMTP id EF8B011A56A; Fri, 20 Jul 2001 22:48:18 -0700 (PDT) Date: Fri, 20 Jul 2001 22:48:18 -0700 (PDT) From: Gordon Tetlow To: Mike Smith Cc: Subject: Re: Kernel module options Was: Re: Fw: help me!!!! In-Reply-To: <200107200839.f6K8d4V01460@mass.dis.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 20 Jul 2001, Mike Smith wrote: > > 3) Steal an idea from Linux (gasp!), and have module dependencies. ie, > > load ipfw.ko and then before we load up natd, we check to see if > > ipdivert.ko is loaded and load it. Alternatively, loading ipdivert.ko > > (before loading ipfw.ko), will automagically load ipfw.ko since ipfw is > > needed to get divert running. > > We've had this support for a long time already; module authors just > aren't taking advantage of it. Is this documented anywhere? If so, can you toss a pointer? I'd be interested in learning a little kernel hacking, and I can't imagine this would be *that* hard to implement. -gordon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message