On Mon, Mar 26, 2012 at 07:35:40AM +0000, David Holland wrote: > kern.module.supported = 1 > > means the same thing without this disadvantage.
Maybe (from a UI perspective this is all bogus and would need tons of documentation) - but what about a modstat -e (e for enabled) instead, that returns success if modules would be loadable, and mostat -e -v that does the same but additionally explains "why not" if returning an error (verbously on stderr). Martin