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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message