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. -A Tells you whether or not modules can be autoloaded at the moment. This option does take into consideration the sysctl kern.module.autoload. -a Tells you whether or not modules can be autoloaded at the moment. This option does not take into consideration the sysctl kern.module.autoload. -e Tells you whether or not you may load a module at the moment. To generate a diff of this commit: cvs rdiff -u -r1.1729 -r1.1730 src/doc/CHANGES cvs rdiff -u -r1.8 -r1.9 src/lib/libc/sys/modctl.2 cvs rdiff -u -r1.14 -r1.15 src/sbin/modstat/main.c cvs rdiff -u -r1.9 -r1.10 src/sbin/modstat/modstat.8 cvs rdiff -u -r1.13 -r1.14 src/sys/kern/sys_module.c cvs rdiff -u -r1.30 -r1.31 src/sys/sys/module.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.