History log of /freebsd-10.0-release/sbin/kldunload/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


198236 19-Oct-2009 ru

Switch the default WARNS level for sbin/ to 6.

Submitted by: Ulrich Spörlein


166690 13-Feb-2007 brueffer

Mark up lkm with .Nm, since lkm is name of an api.

Submitted by: ru


166616 10-Feb-2007 brueffer

Don't reference lkm(4), it doesn't exist.

PR: 108980
Submitted by: Yonatan


156093 27-Feb-2006 wkoszek

Bump a date in .Dd field. Last change brought some new functionality.

Spotted by: brueffer
Approved by: cognet (mentor)
MFC after: 1 week


156091 27-Feb-2006 wkoszek

Extend kldunload(8) functionality and fix minor problems:
o multiple modules can be unloaded at once (specified either by id or be
module name)
o exit with EX_USAGE after usage() is called.
o remove unused variables, since we keep command line flags as bitmask,
in 'opt'.
o 'kldload -n ...' does nothing. Add comment to this options.

Additionally:
o Update manual page to conform new functionality.
o Increace WARNS to 6. Because we can.

Approved by: cognet (mentor)
MFC after: 1 week


156087 27-Feb-2006 wkoszek

Big style(9) fix. This commit brings no functional change.

Approved by: cognet (mentor)
MFC after: 1 week


141593 09-Feb-2005 glebius

- Correctly spell MOD_QUIESCE
- use .Dv for it

MFC after: 3 days


141055 30-Jan-2005 ru

Document -f in usage().


140368 17-Jan-2005 ru

Added the EXIT STATUS section where appropriate.


139987 10-Jan-2005 ru

Scheduled mdoc(7) sweep.


132117 13-Jul-2004 phk

Give kldunload a -f(orce) argument.

Add a MOD_QUIESCE event for modules. This should return error (EBUSY)
of the module is in use.

MOD_UNLOAD should now only fail if it is impossible (as opposed to
inconvenient) to unload the module. Valid reasons are memory references
into the module which cannot be tracked down and eliminated.

When kldunloading, we abandon if MOD_UNLOAD fails, and if -force is
not given, MOD_QUIESCE failing will also prevent the unload.

For backwards compatibility, we treat EOPNOTSUPP from MOD_QUIESCE as
success.

Document that modules should return EOPNOTSUPP for unknown events.


114589 03-May-2003 obrien

Use __FBSDID() to quiet GCC 3.3 warnings.


113936 23-Apr-2003 johan

style(9): use NULL when assigning/comparing a char *,
consitently compare fileid with 0 using == and !=.

Reviewed by: silence on @audit


113935 23-Apr-2003 johan

Make this WARNS=5 clean by adding () in 'if (a || (b && c))'.

Look at by: sebastian.ssmoller@web.de on audit@


99501 06-Jul-2002 charnier

The .Nm utility


87325 04-Dec-2001 obrien

Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by: mike


79530 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


76812 18-May-2001 ru

Removed -I${.CURDIR}/.../sys from CFLAGS.


74815 26-Mar-2001 ru

- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.


74531 20-Mar-2001 ru

Set the default manual section for sbin/ to 8.


68960 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


51074 08-Sep-1999 bde

Fixed bitrot in usage message (-n is now optional).


51006 06-Sep-1999 n_hibma

Show that the -n option is optional

Suggested by: Bruce Evans <bde@zeta.org.au>
Reviewed by: dfr


50847 03-Sep-1999 chris

Add cross-references to respective syscalls.


50476 28-Aug-1999 peter

$Id$ -> $FreeBSD$


49079 25-Jul-1999 n_hibma

Add a sensible message if an invalid ID was entered

PR: 8739
Submitted by: Love lha@stacken.kth.se
Reviewed by: Doug Rabson <doug@freebsd.org>


41108 12-Nov-1998 obrien

Fill-in the manpages a little.


40981 07-Nov-1998 des

Bitch if both an id and a name are specified. Make the man page and usage
message reflect this. As a bonus, make the -n optional so that 'kldunload
name' works as one would expect.


37419 06-Jul-1998 charnier

Lowercase 1st char. in err(3) strings.


34673 19-Mar-1998 charnier

.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.


32270 05-Jan-1998 charnier

Sync. usage string and synopsis. Add rcsid.


30722 26-Oct-1997 jmg

use += on cflags

Submitted-by: Steve Price <sprice@hiwaay.net>


30684 24-Oct-1997 jmg

fix mispelling of kld


30627 21-Oct-1997 jmg

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


30573 19-Oct-1997 jmg

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) :)


25540 07-May-1997 dfr

Add utilities for the kernel linker.