summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dev_mkdb
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-11-20 15:57:00 +0000
committerru <ru@FreeBSD.org>2001-11-20 15:57:00 +0000
commit111d6acc2b7d02ff81c9d3460b5a95c7bfb3a1ef (patch)
treeadcfcd049c1a0cf321f12a55166821ebbfe3d462 /usr.sbin/dev_mkdb
parent80a463b623ea10c8886e32eddea86179c366aae3 (diff)
downloadFreeBSD-src-111d6acc2b7d02ff81c9d3460b5a95c7bfb3a1ef.zip
FreeBSD-src-111d6acc2b7d02ff81c9d3460b5a95c7bfb3a1ef.tar.gz
mdoc(7) police: bump document date, fix markup.
Diffstat (limited to 'usr.sbin/dev_mkdb')
-rw-r--r--usr.sbin/dev_mkdb/dev_mkdb.820
1 files changed, 13 insertions, 7 deletions
diff --git a/usr.sbin/dev_mkdb/dev_mkdb.8 b/usr.sbin/dev_mkdb/dev_mkdb.8
index 8071e14..3d420e2 100644
--- a/usr.sbin/dev_mkdb/dev_mkdb.8
+++ b/usr.sbin/dev_mkdb/dev_mkdb.8
@@ -32,7 +32,7 @@
.\" @(#)dev_mkdb.8 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd June 6, 1993
+.Dd November 18, 2001
.Os
.Dt DEV_MKDB 8
.Sh NAME
@@ -51,22 +51,28 @@ command creates a
.Xr db 3
hash access method database in
.Ar file
-.Pf ( Pa /var/run/dev.db
+.Pa ( /var/run/dev.db
by default)
which contains the names of all of the character and block special
files in
.Ar directory
-.Pf ( Pa /dev
+.Pa ( /dev
by default), using the file type and the
.Fa st_rdev
field as the key.
.Pp
-Keys are a structure containing a mode_t followed by a dev_t,
+Keys are a structure containing a
+.Vt mode_t
+followed by a
+.Vt dev_t ,
with any padding zero'd out.
-The former is the type of the file (st_mode & S_IFMT),
-the latter is the st_rdev field.
+The former is the type of the file
+.Va ( st_mode Li & Dv S_IFMT ) ,
+the latter is the
+.Va st_rdev
+field.
.Sh FILES
-.Bl -tag -width /var/run/dev.db -compact
+.Bl -tag -width ".Pa /var/run/dev.db" -compact
.It Pa /dev
Default device directory.
.It Pa /var/run/dev.db
OpenPOWER on IntegriCloud