aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/dev_mkdb/dev_mkdb.8
diff options
context:
space:
mode:
authorIan Dowse <iedowse@FreeBSD.org>2001-11-18 17:24:28 +0000
committerIan Dowse <iedowse@FreeBSD.org>2001-11-18 17:24:28 +0000
commit00a2029a0e3a03150ec602c46cb88bb45e7ba892 (patch)
treee59b73f4fcb0de865bfbc1c9e3a2f2914b40632c /usr.sbin/dev_mkdb/dev_mkdb.8
parent56f7305f58e489346155bc33a75da66a785bb482 (diff)
Notes
Diffstat (limited to 'usr.sbin/dev_mkdb/dev_mkdb.8')
-rw-r--r--usr.sbin/dev_mkdb/dev_mkdb.817
1 files changed, 11 insertions, 6 deletions
diff --git a/usr.sbin/dev_mkdb/dev_mkdb.8 b/usr.sbin/dev_mkdb/dev_mkdb.8
index d3861106c9d88..8071e14a8b646 100644
--- a/usr.sbin/dev_mkdb/dev_mkdb.8
+++ b/usr.sbin/dev_mkdb/dev_mkdb.8
@@ -42,17 +42,22 @@
database
.Sh SYNOPSIS
.Nm
+.Op Fl f Ar file
+.Op Ar directory
.Sh DESCRIPTION
The
.Nm
command creates a
.Xr db 3
hash access method database in
-.Pa /var/run/dev.db
+.Ar file
+.Pf ( Pa /var/run/dev.db
+by default)
which contains the names of all of the character and block special
-files in the
-.Pa /dev
-directory, using the file type and the
+files in
+.Ar directory
+.Pf ( Pa /dev
+by default), using the file type and the
.Fa st_rdev
field as the key.
.Pp
@@ -63,9 +68,9 @@ the latter is the st_rdev field.
.Sh FILES
.Bl -tag -width /var/run/dev.db -compact
.It Pa /dev
-Device directory.
+Default device directory.
.It Pa /var/run/dev.db
-Database file.
+Default database file.
.El
.Sh SEE ALSO
.Xr ps 1 ,