cvs commit: src/sbin/kldstat kldstat.8 kldstat.c
Alex Lyashkov
shadow at psoft.net
Fri Sep 23 20:31:36 PDT 2005
В Сбт, 24.09.2005, в 02:52, Pawel Jakub Dawidek пишет:
> pjd 2005-09-23 23:52:26 UTC
>
> FreeBSD src repository
>
> Modified files:
> sbin/kldstat kldstat.8 kldstat.c
> Log:
> 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.'
>
Please MFC this.
More information about the cvs-all
mailing list