summaryrefslogtreecommitdiff
path: root/lib/libutil/opendev.3
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2000-05-01 06:05:34 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2000-05-01 06:05:34 +0000
commitc848fe89af4c851a8ccac4ec3a589c581c90fd7f (patch)
treef6756f8693da2a7c1dcb16d3af5b19f75611400d /lib/libutil/opendev.3
parent7ca2f447ce86b9422f49af5f11f26e61f665748e (diff)
Document device lookup semantics.
Diffstat (limited to 'lib/libutil/opendev.3')
-rw-r--r--lib/libutil/opendev.311
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/libutil/opendev.3 b/lib/libutil/opendev.3
index 7ceb063a100..099829ba88f 100644
--- a/lib/libutil/opendev.3
+++ b/lib/libutil/opendev.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: opendev.3,v 1.9 2000/04/30 17:37:46 millert Exp $
+.\" $OpenBSD: opendev.3,v 1.10 2000/05/01 06:05:33 hugh Exp $
.\"
.\" Copyright (c) 2000, Todd C. Miller. All rights reserved.
.\" Copyright (c) 1996, Jason Downs. All rights reserved.
@@ -47,6 +47,15 @@ for instance, which will be expanded to
.Pa /dev/rsd0c
on most architectures.
.Pp
+Device name lookup is done by first checking
+.Fa path
+for a
+.Dq /
+and if one is found attempting to open that file.
+Otherwise
+.Fa /dev
+is searched for a matching device.
+.Pp
The
.Fa oflags
are the same as the