Hi, On Tue, 07 Aug 2012 01:19:06 +0000, John Nemeth wrote:
> Module Name: src Committed By: jnemeth Date: Tue Aug 7 01:19:06 UTC > 2012 > > Modified Files: > src/doc: CHANGES src/lib/libc/sys: modctl.2 src/sbin/modstat: main.c > modstat.8 src/sys/kern: sys_module.c src/sys/sys: module.h > > Log Message: > Add -A, -a, and -e options to modstat(8) along with kernel > changes required to support these options. The -e option was requested > by martin@ in private chat in order to make writing tests easier (i.e. > don't bother testing MODULAR functionaility if it doesn't exist). While > there, I added -A and -a since those were quite similar. [...] > > -e Tells you whether or not you may load a module at the > moment. Wouldn't it make more sense to use -d/-e to disable/enable the possibility to load modules, and use a different letter for this check? HTH, -- khorben