1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-01 08:27:59 +00:00
freebsd/sbin/kldstat
Pawel Jakub Dawidek 90217cddd0 Add '-q' option, which (when used with '-m' option) just tells if the given
module is loaded or compiled into the kernel.
This is useful mostly in startup scripts, when module should be loaded only
if it wasn't compiled into the kernel nor already loaded, eg.:

	kldstat -q -m g_eli || kldload geom_eli.ko || err 1 'geom_eli module failed to load.'
2005-09-23 23:52:26 +00:00
..
kldstat.8 Add '-q' option, which (when used with '-m' option) just tells if the given 2005-09-23 23:52:26 +00:00
kldstat.c Add '-q' option, which (when used with '-m' option) just tells if the given 2005-09-23 23:52:26 +00:00
Makefile