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
dholl...@netbsd.org

Reply via email to