Commit Graph

16 Commits

Author SHA1 Message Date
bapt
b6388c86a4 Import error message shown to the user when trying to load a module that is
already loaded or compiled withing the kernel

MFC after:	1 week
2014-01-09 15:34:23 +00:00
hselasky
8be9a344bd Add option to ignore error codes if the module specified is already loaded.
MFC after:	1 week
2012-03-18 09:45:43 +00:00
maxim
08e0e5241f Make flags in usage() and SYNOPSYS more style(9)-ish.
Suggested by:	brian
MFC after:	3 days
2010-08-30 07:29:27 +00:00
maxim
9efd56660c o Add -q flag to usage().
MFC after:	1 week
2010-07-13 04:13:31 +00:00
benno
28587fcf3e Perform some checking on the requested list of modules to warn people if they
try to load modules by filename out of the current directory where the module
in question may be further up the module path or not in the module path at all.

Also add some text to the man page to help explain what's going on.

Sponsored by:	Redacted Consulting
2009-06-04 23:43:08 +00:00
benno
f858e8ac93 style(9) pass prior to further changes.
Sponsored by:	Redacted Consulting
2009-06-04 23:31:05 +00:00
obrien
19105c8312 Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
jmallett
badf9d5c6c Update documentation for kldload(8)'s ability to load multiple modules.
Submitted by:	Daniel O'Connor <doconnor@gsoft.com.au>
2002-10-09 06:46:54 +00:00
jmallett
b4ee6ee142 Make it possible to kldload(8) many modules.
MFC after:	2 months
Sponsored by:	Bright Path Solutions
Reviewed by:	tjr
2002-10-08 09:57:03 +00:00
dd
ef9ae51ffe Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).
2001-06-24 23:04:23 +00:00
peter
76f0c923fe $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
charnier
eab4934e11 remoce unused #include. 1998-07-06 06:58:32 +00:00
charnier
ab4d8c6e9c Add -v in usage string. Add rcsid. 1998-01-05 07:07:44 +00:00
jmg
b389f452d8 a few code style changes:
o start function names in column 1
    o sort order of flags in getopt and switch
    o don't try to reference progname
    o unspam some changes introduced by a 2.2.1-R build box instead of a
	-current build box

doc changes:
    o document when these commands first appeared
    o put email address in angle brakets
    o minor mdoc clean up
1997-10-21 09:59:26 +00:00
jmg
075da1dbb9 activate the programs that will be used to manipulate kld modules
fix a few problems with missing headers, warn called with an exit
value, and undeclared getopt vars

these programs now compile -Wall clean (and yes, I know I should use
more than just -Wall) :)
1997-10-19 11:15:45 +00:00
dfr
6a933805fd Add utilities for the kernel linker. 1997-05-07 18:19:54 +00:00