Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jul 1999 22:32:35 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        Nicolai Petri <npp@swamp.dk>
Cc:        current@FreeBSD.ORG
Subject:   Re: kldload (module parameters ??)
Message-ID:  <37A2FAF3.8ACE116E@newsguy.com>
References:  <002201bea9b1$f0772c00$6535a8c0@petri>

next in thread | previous in thread | raw e-mail | index | archive | help
Nicolai Petri wrote:
> 
> Would it be possible and wise to implement a way to pass parameters to
> modules when they are loaded ?? Like "kldload if_olp -recv_debug" ?

This message might be over two months old, but hey... :-)

Modules can receive parameters when loaded through loader(8). It
would make sense that this capability were also present on kldload.

One good reason not to do it this way: we want modules to be
loadable-on-demand.

Of course, there are all sorts of modules that wouldn't make sense
to be demand-loadable, and, thus, would be perfectly all right with
parameters.

--
Daniel C. Sobral			(8-DCS)
dcs@newsguy.com
dcs@freebsd.org

	- Jordan, God, what's the difference?
	- God doesn't belong to the -core.



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37A2FAF3.8ACE116E>