Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2002 13:42:40 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Cliff Sarginson <csfbsd@raggedclown.net>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: A question and a suggestion about loadable modules
Message-ID:  <20020220194240.GC4350@dan.emsphone.com>
In-Reply-To: <20020220190906.GJ3600@raggedclown.net>
References:  <20020219185856.GB1191@raggedclown.net> <20020219205809.GA18746@dan.emsphone.com> <20020220190906.GJ3600@raggedclown.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Feb 20), Cliff Sarginson said:
> On Tue, Feb 19, 2002 at 02:58:09PM -0600, Dan Nelson wrote:
> > In the last episode (Feb 19), Cliff Sarginson said:
> > > Hello,
> > > Someone suggested this may be the right list for this.
> > > 
> > > - Has consideration in the loadable modules implementation been given
> > >   to a module dependency facility, in the manner of "depmod" in Linux ?
> > >   So that any module loaded will automagically load modules it depends
> > >   on to run ?
> > 
> > See the module(9) and MODULE_DEPEND(9) manpages.
> > 
> Ok, well the facility exists I see.
> Is it used ?

Yes. 

$ cd /sys
$ grep MODULE_DEPEND **/*.c | wc -l
   137
$

NIC drivers sometimes require miibus, USB drivers require usb, SCSI
card drivers require cam, etc.

-- 
	Dan Nelson
	dnelson@allantgroup.com

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




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