.\" Copyright (c) 1990 The Regents of the University of California.
.\" %sccs.include.redist.man%
.\" @(#)dev_mkdb.8 5.2 (Berkeley) %G%
dev_mkdb \- create /dev database
database in ``/var/run/dev.db'' which lists the name and
field of all of the character and block special files in the ``/dev'' directory.
Character special files are entered using the
field as the key. Block special files are entered using the
field followed by a single NULL byte as the key.
The file name is stored as the data.
This database is used by the devname() function in
and is shared among several other programs.
/var/run/dev.db Database file
ps(1), db(3), kvm_nlist(3), ttyname(3), kvm_mkdb(8)