Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2003 15:24:28 +0200
From:      Alexander Langer <alex@big.endian.de>
To:        freebsd-hackers@FreeBSD.org
Subject:   loader tunables for modules
Message-ID:  <20030529132428.GA66652@fump.kawo2.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help
Hi!

How would one give flags to kernel modules?

I.e. a kernel module I wrote starts a kernel thread.  It should be
controlable what kernel thread it starts depending on a sysctl.
Of course the sysctl isn't available before the module is loaded.

So is there a way to pass a kernel module options to the load-handler,
as it is the case for the linux modprobe?

For statically drivers in the kernel this can be done by a r/o loader
tunable, but I really want to have a module.

Thanks for any pointers

Alex



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030529132428.GA66652>