kvm_mkdb(8)

kvm_mkdb8

Create kernel database

Usage

kvm_mkdb [-v] [-o directory] [file]

Overview

kvm_mkdb creates a database in /var/db containing information about the specified file. If no file is specified, /bsd is used by default. The file is named kvm_filename.db, where filename is the name of the file read. Various library routines consult this database. The only information currently stored is the kernel namelist, which is used by the kvm_nlist(3) function. However, in the future the database may contain other static information about the current system.

The options are as follows:

-o directory

Allows the specification of a directory other than /var/db for the database to be created in.

-v

Yields slightly more verbose operation.

Files

/bsd
/var/db/kvm_bsd.db

Releases

61 releases since OpenBSD 2.1; the text changed 8 times.

  1. 2.1–2.3
  2. 2.4
  3. 2.5
  4. 2.6
  5. 2.7–3.3
  6. 3.4
  7. 3.5–4.1
  8. 4.2–7.1
  9. 7.2–8.0

-o since OpenBSD 3.5; -v since OpenBSD 3.5.

History

The kvm_mkdb utility first appeared in 4.3BSD-Reno.

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.