DEVMKDB(8) BSD System Manager's Manual DEVMKDB(8)
NAME
devmkdb -- create /dev database
SYNOPSIS
devmkdb
DESCRIPTION
The devmkdb command creates a db(3) hash access method database in
``/var/run/dev.db'' which contains the names of all of the character and
block special files in the ``/dev'' directory, using the file type and
the strdev field as the key.
Keys are a structure containing a modet followed by a devt, with any
padding zero'd out. The former is the type of the file (stmode &
SIFMT), the latter is the strdev field.
FILES
/dev Device directory.
/var/run/dev.db Database file.
SEE ALSO
ps(1), stat(2), db(3), devname(3), kvmnlist(3), ttyname(3), kvmmkdb(8)
HISTORY
The devmkdb command appeared in 4.4BSD.
BSD June 6, 1993 BSD
|