Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2005 06:31:32 +0300
From:      Alex Lyashkov <shadow@psoft.net>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/kldstat kldstat.8 kldstat.c
Message-ID:  <1127532692.3382.0.camel@berloga.shadowland>
In-Reply-To: <200509232352.j8NNqQBC031440@repoman.freebsd.org>
References:  <200509232352.j8NNqQBC031440@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
=F7 =F3=C2=D4, 24.09.2005, =D7 02:52, Pawel Jakub Dawidek =D0=C9=DB=C5=D4:
> pjd         2005-09-23 23:52:26 UTC
>=20
>   FreeBSD src repository
>=20
>   Modified files:
>     sbin/kldstat         kldstat.8 kldstat.c=20
>   Log:
>   Add '-q' option, which (when used with '-m' option) just tells if the g=
iven
>   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.:
>  =20
>           kldstat -q -m g_eli || kldload geom_eli.ko || err 1 'geom_eli m=
odule failed to load.'
>  =20
Please MFC this.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1127532692.3382.0.camel>