summaryrefslogtreecommitdiffstats
path: root/lib/libutil
diff options
context:
space:
mode:
authorhugh <hugh@openbsd.org>2000-05-01 06:05:33 +0000
committerhugh <hugh@openbsd.org>2000-05-01 06:05:33 +0000
commit2e4bea7751d733cdd96eb3e0a9fe0ae33d10c7a3 (patch)
treeadb26e50bda03b3b3ba1976be361099d8285f278 /lib/libutil
parentvax distrib stuff (diff)
downloadwireguard-openbsd-2e4bea7751d733cdd96eb3e0a9fe0ae33d10c7a3.tar.xz
wireguard-openbsd-2e4bea7751d733cdd96eb3e0a9fe0ae33d10c7a3.zip
Document device lookup semantics.
Diffstat (limited to 'lib/libutil')
-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