Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2000 21:26:09 -0400
From:      "Gary T. Corcoran" <gcorcoran@lucent.com>
To:        Mike Smith <msmith@FreeBSD.ORG>
Cc:        FreeBSD Hackers <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Module parameters?
Message-ID:  <396BC931.6ABF2C85@lucent.com>
References:  <200007120116.SAA00755@mass.osd.bsdi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Mike Smith wrote:
>
> If you say "kldload foo", you load the file foo.ko.  However, that file
> may contain more than one module.

I didn't know that was possible (i.e. supported)...

> The hints mechanism is what we are currently using to pass in the
> information that used to be in the kernel configuration file.  Each hint
> is an entry in the kernel environment space; these are currently read
> from a file by the loader when it's loading the kernel, but we must also
> have an interface for setting these after the system starts.

Gee, you mean you're not gonna make me reboot every time I change
a setting like Windows does?  :-P   Actually they've gotten rid of
most of that baloney in Windows2000, so we better not be worse!
 
> In addition, it should be possible to pass arguments to a module as you
> load it, however it's not clear yet that this is the "clean" way to do it.
> I think the initial approach is going to look like this:
> 
> # kenv hint.foo.0.parameter=15
> # kldload foo
> 
> ie. the hints can be set entirely independently of the module load.

Sounds reasonable to me...

Gary


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?396BC931.6ABF2C85>