loader tunables for modules

From: Alexander Langer (alex_at_big.endian.de)
Date: 05/29/03

  • Next message: Lara & Harti Brandt: "Re: loader tunables for modules"
    Date: Thu, 29 May 2003 15:24:28 +0200
    To: freebsd-hackers@FreeBSD.org
    
    

    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
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Lara & Harti Brandt: "Re: loader tunables for modules"

    Relevant Pages