summaryrefslogtreecommitdiffstats
path: root/sbin/kldunload
Commit message (Collapse)AuthorAgeFilesLines
* Bump a date in .Dd field. Last change brought some new functionality.wkoszek2006-02-271-1/+1
| | | | | | Spotted by: brueffer Approved by: cognet (mentor) MFC after: 1 week
* Extend kldunload(8) functionality and fix minor problems:wkoszek2006-02-273-40/+50
| | | | | | | | | | | | | | | | 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
* Big style(9) fix. This commit brings no functional change.wkoszek2006-02-271-53/+56
| | | | | Approved by: cognet (mentor) MFC after: 1 week
* - Correctly spell MOD_QUIESCEglebius2005-02-091-1/+3
| | | | | | - use .Dv for it MFC after: 3 days
* Document -f in usage().ru2005-01-301-2/+2
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-5/+2
|
* Scheduled mdoc(7) sweep.ru2005-01-101-6/+4
|
* Give kldunload a -f(orce) argument.phk2004-07-132-2/+13
| | | | | | | | | | | | | | | | | 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.
* Use __FBSDID() to quiet GCC 3.3 warnings.obrien2003-05-031-4/+2
|
* style(9): use NULL when assigning/comparing a char *,johan2003-04-231-5/+5
| | | | | | consitently compare fileid with 0 using == and !=. Reviewed by: silence on @audit
* Make this WARNS=5 clean by adding () in 'if (a || (b && c))'.johan2003-04-232-2/+2
| | | | Look at by: sebastian.ssmoller@web.de on audit@
* The .Nm utilitycharnier2002-07-061-1/+1
|
* Default to WARNS=2.obrien2001-12-041-0/+1
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Removed -I${.CURDIR}/.../sys from CFLAGS.ru2001-05-181-2/+0
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-2/+0
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Fixed bitrot in usage message (-n is now optional).bde1999-09-081-1/+1
|
* Show that the -n option is optionaln_hibma1999-09-061-1/+4
| | | | | Suggested by: Bruce Evans <bde@zeta.org.au> Reviewed by: dfr
* Add cross-references to respective syscalls.chris1999-09-031-0/+1
|
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Add a sensible message if an invalid ID was enteredn_hibma1999-07-251-1/+3
| | | | | | PR: 8739 Submitted by: Love lha@stacken.kth.se Reviewed by: Doug Rabson <doug@freebsd.org>
* Fill-in the manpages a little.obrien1998-11-121-3/+11
|
* Bitch if both an id and a name are specified. Make the man page and usagedes1998-11-072-6/+14
| | | | | message reflect this. As a bonus, make the -n optional so that 'kldunload name' works as one would expect.
* Lowercase 1st char. in err(3) strings.charnier1998-07-061-2/+2
|
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-191-3/+3
|
* Sync. usage string and synopsis. Add rcsid.charnier1998-01-052-12/+13
|
* use += on cflagsjmg1997-10-261-2/+2
| | | | Submitted-by: Steve Price <sprice@hiwaay.net>
* fix mispelling of kldjmg1997-10-241-2/+2
|
* a few code style changes:jmg1997-10-212-21/+20
| | | | | | | | | | | | | 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
* activate the programs that will be used to manipulate kld modulesjmg1997-10-192-2/+9
| | | | | | | | 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) :)
* Add utilities for the kernel linker.dfr1997-05-073-0/+185
OpenPOWER on IntegriCloud