History log of /freebsd/sbin/kldstat/kldstat.c (Results 26 – 50 of 72)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 3e8cf495 22-Jan-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Add quiet support for kldstat -n

PR: bin/180014
Submitted by: Olivier Cochard-Labbé <olivier@cochard.me>
MFC after: 1 week


Revision tags: release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0
# c6d2d1b4 14-Nov-2010 Dimitry Andric <dim@FreeBSD.org>

Sync: merge r215189 through r215272 from ^/head.


# 35e3987f 13-Nov-2010 Konstantin Belousov <kib@FreeBSD.org>

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.

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

show more ...


Revision tags: release/8.1.0_cvs, release/8.1.0
# 8e721ea7 12-May-2010 Christian Brueffer <brueffer@FreeBSD.org>

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 we

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

show more ...


Revision tags: release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0
# 7d4b968b 17-Sep-2009 Dag-Erling Smørgrav <des@FreeBSD.org>

Merge from head up to r188941 (last revision before the USB stack switch)


Revision tags: release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0
# 97a7a569 22-Dec-2008 Andrew Thompson <thompsa@FreeBSD.org>

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


Revision tags: release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0
# 1676805c 22-Oct-2007 John Birrell <jb@FreeBSD.org>

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 kld

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

show more ...


Revision tags: release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0
# 09d5b706 24-Sep-2005 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Update usage.


# 90217cdd 24-Sep-2005 Pawel Jakub Dawidek <pjd@FreeBSD.org>

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
i

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

show more ...


# 9b3eb503 21-May-2005 Ruslan Ermilov <ru@FreeBSD.org>

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


Revision tags: release/5.4.0_cvs, release/5.4.0
# 5d6d6d38 04-May-2005 Max Khon <fjoe@FreeBSD.org>

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


Revision tags: release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0
# 2c8aff0a 30-May-2004 David Malone <dwmalone@FreeBSD.org>

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


# 5d9ae0a2 28-May-2004 David Malone <dwmalone@FreeBSD.org>

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


Revision tags: release/4.10.0_cvs, release/4.10.0
# 9c4c393a 15-Mar-2004 Juli Mallett <jmallett@FreeBSD.org>

Validate argument to -i.


Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0
# c69284ca 03-May-2003 David E. O'Brien <obrien@FreeBSD.org>

Use __FBSDID() to quiet GCC 3.3 warnings.


# 7f107457 23-Apr-2003 Johan Karlsson <johan@FreeBSD.org>

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

Reviewed by: silence on @audit


# eb3beef5 23-Apr-2003 Johan Karlsson <johan@FreeBSD.org>

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

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


Revision tags: release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs, release/4.3.0_cvs, release/4.3.0, release/4.2.0, release/4.1.1_cvs, release/4.1.0
# 61c3dd35 01-Jul-2000 Paul Saab <ps@FreeBSD.org>

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

Pointed out by: bp


Revision tags: release/3.5.0_cvs
# 28b406b2 20-Jun-2000 Jonathan M. Bresler <jmb@FreeBSD.org>

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


Revision tags: release/4.0.0_cvs, release/3.4.0_cvs
# fb2ef615 04-Dec-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Properly align the columns of the header on Alpha.


Revision tags: release/3.3.0_cvs
# 7f3dea24 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8
# 9b84d629 07-Nov-1998 Dag-Erling Smørgrav <des@FreeBSD.org>

Cosmetic fix (make header align with data)


Revision tags: release/2.2.7, release/2.2.6
# 57e78ffb 05-Jan-1998 Philippe Charnier <charnier@FreeBSD.org>

Sync. usage string and synopsis. Add rcsid.


# 2830148a 21-Oct-1997 John-Mark Gurney <jmg@FreeBSD.org>

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

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

show more ...


Revision tags: release/2.2.5_cvs
# 23e200d5 19-Oct-1997 John-Mark Gurney <jmg@FreeBSD.org>

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 -Wal

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

show more ...


123