replace ndbm with Margo Seltzer's hashing package
[unix-history] / usr / src / usr.sbin / kvm_mkdb / kvm_mkdb.8
.\" Copyright (c) 1989 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" %sccs.include.redist.man%
.\"
.\" @(#)kvm_mkdb.8 5.1 (Berkeley) %G%
.\"
.TH kvm_mkdb 8 ""
.UC 7
.SH NAME
kvm_mkdb \- create kernel database
.SH SYNOPSIS
.B kvm_mkdb [ file ]
.SH DESCRIPTION
.I Kvm_mkdb
creates a
.IR db(3)
database in ``/var/run/kvm_vmunix.db'' which contains the
namelist of
.I file
(or, by default, /vmunix).
Each symbol is stored with its name as the key and its associated
nlist structure as the data.
.PP
The
.IR kvm_nlist (3)
library routines use this database.
.PP
The text string found at the location referenced by the symbol
``_version'' is stored as the data associated with the special
key ``VERSION''.
.SH FILES
/vmunix Default file read for namelist
.br
/var/run/kvm_vmunix.db Database file
.SH SEE ALSO
db(3), kvm_nlist(3), nlist(3), dev_mkdb(8)