tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/tests/modules
On Wed, Mar 21, 2012 at 12:25:25PM +0000, Martin Husemann wrote:
> > Skip Xen. XXX: There should be a reliable way to detect MODULAR.
>
> This (untested) would add one (sysctl kern.module.modular would say 0 for
> non-modular kernels, or 1 otherwise).
>
> What do folks think?
Definitely a good plan.
But, how about "kern.module.supported" or "kern.module.canload" or
something?
We've already done enough conflating of "modular" to mean both
"loading modules is supported" and "tons of things are built as
modules". :-/
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index