Date: Mon, 2 Aug 1999 18:16:32 +0700 (ALMST) From: Boris Popov <bp@butya.kz> To: Chris Costello <chris@calldei.com> Cc: Juha.Nurmela@quicknet.inet.fi, hackers@FreeBSD.ORG Subject: Re: Proposing argv for klds and preloaded modules Message-ID: <Pine.BSF.4.10.9908021804300.39171-100000@lion.butya.kz> 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? 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 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.10.9908021804300.39171-100000>