Date: Mon, 2 Aug 1999 00:34:26 +0300 (EEST) From: Juha Nurmela <junki@qn-lpr2-165.quicknet.inet.fi> To: Chris Costello <chris@calldei.com> Cc: hackers@FreeBSD.ORG Subject: Re: Proposing argv for klds and preloaded modules Message-ID: <Pine.BSF.4.05.9908020021290.9676-100000@pena.oh5nxo.ampr.org> In-Reply-To: <19990801162055.E18888@holly.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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? Yes, but (this might be a trademark ;) commonly the arguments would be used during the sysinit->attach, and at that time sysctl has not yet been able to change anything. Use of sysctl would require a sidestep from attach and later continuation with a sysctl_proc. Not a problem, but inconvenient, IMHO. And it's analogous to executing, they too can get arguments. Juha 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?Pine.BSF.4.05.9908020021290.9676-100000>