aboutsummaryrefslogtreecommitdiff
path: root/sbin/kldstat
Commit message (Collapse)AuthorAgeFilesLines
* Only show the pathname in verbose output as intended in the last commit ↵Andrew Thompson2008-12-221-3/+5
| | | | | | | (r172862). Notes: svn path=/head/; revision=186398
* Add the full module path name to the kld_file_stat structureJohn Birrell2007-10-221-2/+2
| | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=172862
* Mark up lkm with .Nm, since lkm is name of an api.Christian Brueffer2007-02-131-1/+1
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=166690
* Don't reference lkm(4), it doesn't exist.Christian Brueffer2007-02-101-1/+1
| | | | | | | | PR: 108980 Submitted by: Yonatan Notes: svn path=/head/; revision=166616
* -mdoc sweep.Ruslan Ermilov2005-11-181-1/+1
| | | | Notes: svn path=/head/; revision=152568
* Update usage.Pawel Jakub Dawidek2005-09-241-1/+1
| | | | Notes: svn path=/head/; revision=150509
* Add '-q' option, which (when used with '-m' option) just tells if the givenPawel Jakub Dawidek2005-09-232-3/+15
| | | | | | | | | | | 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.' Notes: svn path=/head/; revision=150497
* Synchronize program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-05-211-1/+2
| | | | Notes: svn path=/head/; revision=146465
* Add -m option (find module using modfind() and stat it).Max Khon2005-05-042-5/+31
| | | | Notes: svn path=/head/; revision=145861
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-5/+2
| | | | Notes: svn path=/head/; revision=140368
* Use a better way to calculate POINTER_WIDTH suggested by pjd@.David Malone2004-05-301-1/+1
| | | | Notes: svn path=/head/; revision=129866
* Decide how much space we need to print a pointer usingDavid Malone2004-05-281-5/+1
| | | | | | | sizeof(void *) rather than if __alpha__ is defined. Notes: svn path=/head/; revision=129820
* Validate argument to -i.Juli Mallett2004-03-151-1/+4
| | | | Notes: svn path=/head/; revision=127004
* Use __FBSDID() to quiet GCC 3.3 warnings.David E. O'Brien2003-05-031-4/+2
| | | | Notes: svn path=/head/; revision=114589
* style(9): use NULL when assigning/comparing a char *,Johan Karlsson2003-04-231-3/+3
| | | | | | | | | consitently compare fileid with 0 using == and !=. Reviewed by: silence on @audit Notes: svn path=/head/; revision=113936
* Make this WARNS=5 clean by using %j and (uintmax_t).Johan Karlsson2003-04-232-3/+5
| | | | | | | Look at by: sebastian.ssmoller@web.de on audit@ Notes: svn path=/head/; revision=113933
* The .Nm utilityPhilippe Charnier2002-07-061-1/+1
| | | | Notes: svn path=/head/; revision=99501
* Default to WARNS=2.David E. O'Brien2001-12-041-0/+1
| | | | | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87325
* Removed -I${.CURDIR}/.../sys from CFLAGS.Ruslan Ermilov2001-05-181-2/+0
| | | | Notes: svn path=/head/; revision=76812
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74815
* Set the default manual section for sbin/ to 8.Ruslan Ermilov2001-03-201-2/+0
| | | | Notes: svn path=/head/; revision=74531
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68960
* Backout rev 1.8. This really does not give us the version numberPaul Saab2000-07-012-5/+5
| | | | | | | | | of the kld's. Pointed out by: bp Notes: svn path=/head/; revision=62327
* display version number of each kld module when usingJonathan M. Bresler2000-06-202-5/+5
| | | | | | | the -v flag. Notes: svn path=/head/; revision=61881
* Properly align the columns of the header on Alpha.Marcel Moolenaar1999-12-041-1/+7
| | | | Notes: svn path=/head/; revision=54130
* Add cross-references to respective syscalls.Chris Costello1999-09-031-0/+1
| | | | Notes: svn path=/head/; revision=50847
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50476
* Fill-in the manpages a little.David E. O'Brien1998-11-121-3/+11
| | | | Notes: svn path=/head/; revision=41108
* Cosmetic fix (make header align with data)Dag-Erling Smørgrav1998-11-071-2/+2
| | | | Notes: svn path=/head/; revision=40980
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.Philippe Charnier1998-03-191-3/+3
| | | | Notes: svn path=/head/; revision=34673
* Sync. usage string and synopsis. Add rcsid.Philippe Charnier1998-01-052-14/+14
| | | | Notes: svn path=/head/; revision=32270
* use += on cflagsJohn-Mark Gurney1997-10-261-2/+2
| | | | | | | Submitted-by: Steve Price <sprice@hiwaay.net> Notes: svn path=/head/; revision=30722
* a few code style changes:John-Mark Gurney1997-10-212-20/+21
| | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=30627
* activate the programs that will be used to manipulate kld modulesJohn-Mark Gurney1997-10-192-5/+12
| | | | | | | | | | | 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) :) Notes: svn path=/head/; revision=30573
* Add utilities for the kernel linker.Doug Rabson1997-05-073-0/+212
Notes: svn path=/head/; revision=25540