Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2009 15:12:33 +0000
From:      Andrew Brampton <brampton+freebsd-hackers@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Mutually exclusive kernel modules
Message-ID:  <d41814900901280712v5c83657axa93d5a719ef816f5@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,
I'm writing a new kernel module which can not be run with another
module. If both run then bad things will happen and the kernel will
fall over. Fixing the modules so they can be run together is not a
option, so I wanted to code something in this new module which would

A) Check if the other module is already running and thus refuse to start.
and
B) Stop the other module from loading in the future.

So is there a way to do this?

thanks
Andrew



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