On Sun, 1 Aug 1999, Chris Costello wrote:
> On Sun, Aug 01, 1999, Juha Nurmela wrote:
> >
> > Sometimes it would be handy to pass a commandline
> > to a kld, preloaded modules already support
> > arguments. kldload(2) unfortunately has only
> > the pathname.ko argument.
>
> Is this really a problem? Can the administrator not use
> sysctl instead?
It is not always possible. Some device drivers (both hardware and
software) require an arguments that needed at init/attach time.
IMO, args should be passed in usual manner via argv[] and
argc with plain get_opt() in libkern.
--
Boris Popov
http://www.butya.kz/~bp/
To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-hackers" in the body of the message