diff options
author | pjd <pjd@FreeBSD.org> | 2005-09-23 23:52:26 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2005-09-23 23:52:26 +0000 |
commit | 7386c5229413cf5854510293b5354c1edb72d33d (patch) | |
tree | 4c2a888b13e4d495628abb6e9a23c6f54aae385c /sbin/newfs | |
parent | 899f0582914085466a6860f42fad3563da0e2140 (diff) | |
download | FreeBSD-src-7386c5229413cf5854510293b5354c1edb72d33d.zip FreeBSD-src-7386c5229413cf5854510293b5354c1edb72d33d.tar.gz |
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.'
Diffstat (limited to 'sbin/newfs')
0 files changed, 0 insertions, 0 deletions