summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kvm_mkdb
Commit message (Collapse)AuthorAgeFilesLines
* Zap kvm_mkdb, it was for kvm_nlist's benefit, but now it goes directpeter1999-12-276-729/+0
| | | | to the in-kernel hashed symbol tables (including modules).
* $Id$ -> $FreeBSD$peter1999-08-284-4/+4
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Test the correct database file (not necessarily the one corresponding tobde1999-05-153-9/+9
| | | | the running kernel if the nlist file is specified explicitly).
* Handle ELF symbols better. This fixes "vmstat -i" for the casejdp1998-10-281-21/+50
| | | | | | | | | where "/var/db/kvm_kernel.db" exists. Note, kvm_mkdb tries to be clever, and skips rebuilding the database if it thinks it's already up to date. To see the effects of this fix, you may need to manually delete "/var/db/kvm_kernel.db" and then run "kvm_mkdb".
* Update to use the new elf headers.dfr1998-08-171-10/+11
|
* Always support an elf kernel when given one.peter1998-06-121-2/+0
|
* Statisize usage(). Add return(0) for -wall.charnier1997-09-244-6/+15
|
* Initial support for dealing with an elf /kernel. This is a loose hybridpeter1997-08-302-4/+179
| | | | | | | | of OpenBSD's elf nlist code for this, and our a.out version. The OpenBSD version was mainly a seek/read system with a mmap of the string table, this one simply mmap's the lot (like the a.out version). Obtained from: a fair chunk from OpenBSD
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-1/+1
| | | | posix standard on the topic.
* Merge from Lite2 (use special dbopen flags)peter1997-03-111-9/+12
|
* Sweep through the tree fixing mmap() usage:alex1997-01-161-0/+3
| | | | | | | | | | | | - Use MAP_FAILED instead of the constant -1 to indicate failure (required by POSIX). - Removed flag arguments of '0' (required by POSIX). - Fixed code which expected an error return of 0. - Fixed code which thought any address with the high bit set was an error. - Check for failure where no checks were present. Discussed with: bde
* Use the .Bx macro where appropriate.mpp1996-08-231-1/+2
|
* NBPG -> getpagesize()phk1996-05-021-2/+2
|
* Remove trailing whitespace.rgrimes1995-05-301-4/+4
|
* Speed kvm_mkdb up by a factor 5 or thereabout. Rewrote all the fseek/freadphk1995-01-102-77/+48
| | | | | | nonsense to use a mmap'ed file instead and told the DB/hash what we are up to. dev_mkdb could maybe benefit from the same treatment.
* Get rid of _PATH_UNIX completely; use getbootfile(3) instead.wollman1994-09-242-2/+2
| | | | | | | DANGER WILL ROBINSON! _PATH_UNIX is currently defined as the literal string "don't use this". I am of two minds about this myself, but wanted to get something into the tree as quickly as possible.
* Get rid of update. Make man page installation work with our schemewollman1994-08-051-1/+1
| | | | (and rename a few in the process).
* Converted 'vmunix' to 'kernel'.dg1994-08-051-4/+4
|
* The FreeBSD bootloader loads the kernel at the a_entry address in thecsgr1994-07-221-0/+11
| | | | | | | kernel a.out file, meaning that this is where the kernel starts. (not at KERNBASE) - KERNBASE is 0xf0000000, while the kernel loads at 0xf0100000 Reviewed by:
* Must now include vm/vm.h and vm/vm_param.h due to the way we define KERNBASE.rgrimes1994-05-281-0/+3
| | | | Reviewed by: David Greenman
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-266-0/+524
OpenPOWER on IntegriCloud