History log of /freebsd-10.0-release/sbin/kldstat/
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


215248 13-Nov-2010 kib

In printfile(), exit the process instead of only printing the warning.
This fixes verbose mode when either -i specified non-existent kldfile
id, or the file was unloaded between two kldnext(2) calls.

While there, fix printfile() definition to be style(9)-compliant.

Submitted by: arundel
MFC after: 1 week


207964 12-May-2010 brueffer

Casting size_t to uintmax_t is not necessary anymore. This also
removes the need for stdint.h inclusion.

PR: 146046
Submitted by: Alexander Best <alexbestms@wwu.de>
Reviewed by: kan
MFC after: 1 week


202532 17-Jan-2010 ed

Raise WARNS for various tools where possible.

Submitted by: Marius NĂ¼nnerich <marius@nuenneri.ch>


186398 22-Dec-2008 thompsa

Only show the pathname in verbose output as intended in the last commit (r172862).


172862 22-Oct-2007 jb

Add the full module path name to the kld_file_stat structure
for kldstat(2).

This allows libdtrace to determine the exact file from which
a kernel module was loaded without having to guess.

The kldstat(2) API is versioned with the size of the
kld_file_stat structure, so this change creates version 2.

Add the pathname to the verbose output of kldstat(8) too.

MFC: 3 days


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


152568 18-Nov-2005 ru

-mdoc sweep.


150509 24-Sep-2005 pjd

Update usage.


150497 23-Sep-2005 pjd

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.'


146465 21-May-2005 ru

Synchronize program's usage() with manpage's SYNOPSIS.


145861 04-May-2005 fjoe

Add -m option (find module using modfind() and stat it).


140368 17-Jan-2005 ru

Added the EXIT STATUS section where appropriate.


129866 30-May-2004 dwmalone

Use a better way to calculate POINTER_WIDTH suggested by pjd@.


129820 28-May-2004 dwmalone

Decide how much space we need to print a pointer using
sizeof(void *) rather than if __alpha__ is defined.


127004 15-Mar-2004 jmallett

Validate argument to -i.


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


113933 23-Apr-2003 johan

Make this WARNS=5 clean by using %j and (uintmax_t).

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


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.


62327 01-Jul-2000 ps

Backout rev 1.8. This really does not give us the version number
of the kld's.

Pointed out by: bp


61881 20-Jun-2000 jmb

display version number of each kld module when using
the -v flag.


54130 04-Dec-1999 marcel

Properly align the columns of the header on Alpha.


50847 03-Sep-1999 chris

Add cross-references to respective syscalls.


50476 28-Aug-1999 peter

$Id$ -> $FreeBSD$


41108 12-Nov-1998 obrien

Fill-in the manpages a little.


40980 07-Nov-1998 des

Cosmetic fix (make header align with data)


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>


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.