From owner-freebsd-current Sat Jul 31 6:42:35 1999 Delivered-To: freebsd-current@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 6F2B614F17 for ; Sat, 31 Jul 1999 06:42:26 -0700 (PDT) (envelope-from dcs@newsguy.com) Received: from newsguy.com by peach.ocn.ne.jp (8.9.1a/OCN) id WAA13178; Sat, 31 Jul 1999 22:41:34 +0900 (JST) Message-ID: <37A2FAF3.8ACE116E@newsguy.com> Date: Sat, 31 Jul 1999 22:32:35 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.6 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: Nicolai Petri Cc: current@FreeBSD.ORG Subject: Re: kldload (module parameters ??) References: <002201bea9b1$f0772c00$6535a8c0@petri> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nicolai Petri wrote: > > Would it be possible and wise to implement a way to pass parameters to > modules when they are loaded ?? Like "kldload if_olp -recv_debug" ? This message might be over two months old, but hey... :-) Modules can receive parameters when loaded through loader(8). It would make sense that this capability were also present on kldload. One good reason not to do it this way: we want modules to be loadable-on-demand. Of course, there are all sorts of modules that wouldn't make sense to be demand-loadable, and, thus, would be perfectly all right with parameters. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org - Jordan, God, what's the difference? - God doesn't belong to the -core. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message