date and time created 91/02/12 22:00:41 by bostic
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 13 Feb 1991 14:00:41 +0000 (06:00 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 13 Feb 1991 14:00:41 +0000 (06:00 -0800)
SCCS-vsn: usr.sbin/dev_mkdb/dev_mkdb.8 5.1

usr/src/usr.sbin/dev_mkdb/dev_mkdb.8 [new file with mode: 0644]

diff --git a/usr/src/usr.sbin/dev_mkdb/dev_mkdb.8 b/usr/src/usr.sbin/dev_mkdb/dev_mkdb.8
new file mode 100644 (file)
index 0000000..3fafff9
--- /dev/null
@@ -0,0 +1,34 @@
+.\" Copyright (c) 1990 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" %sccs.include.redist.man%
+.\"
+.\"    @(#)dev_mkdb.8  5.1 (Berkeley) %G%
+.\"
+.TH dev_mkdb 8 ""
+.UC 7
+.SH NAME
+dev_mkdb \- create /dev database
+.SH SYNOPSIS
+.B dev_mkdb
+.SH DESCRIPTION
+.I Dev_mkdb
+creates a
+.IR db (3)
+database in ``/var/run/dev.db'' which lists the name and
+.I st_rdev
+field of all of the character special files in the ``/dev'' directory.
+Each of these files is entered, with the
+.I st_rdev
+field as the key and the file name as the data.
+.PP
+This database is used by 
+.IR ps (1)
+and
+.IR ttyname (3).
+.SH FILES
+/dev                                   Device directory
+.br
+/var/run/dev.db                Database file
+.SH SEE ALSO
+ps(1), db(3), kvm_nlist(3), ttyname(3), kvm_mkdb(8)