Searched hist:150497 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sbin/kldstat/
H A Dkldstat.cdiff 150497 Fri Sep 23 21:52:26 MDT 2005 pjd 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.'

Completed in 91 milliseconds