Re: kldload (module parameters ??)

1999-07-31 Thread Daniel C. Sobral

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)
[EMAIL PROTECTED]
[EMAIL PROTECTED]

- Jordan, God, what's the difference?
- God doesn't belong to the -core.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: kldload (module parameters ??)

1999-05-29 Thread Matthew N. Dodd
On Sat, 29 May 1999, 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" ?

Use sysctl for this.

-- 
| Matthew N. Dodd  | 78 280Z | 75 164E | 84 245DL | FreeBSD/NetBSD/Sprite/VMS |
| win...@jurai.net |  This Space For Rent | ix86,sparc,m68k,pmax,vax  |
| http://www.jurai.net/~winter | Are you k-rad elite enough for my webpage?   |



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message



kldload (module parameters ??)

1999-05-29 Thread Nicolai Petri
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" ?

-
Nicolai Petri
n...@swamp.dk




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message