summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-11-03 17:18:51 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-11-03 17:18:51 +0000
commit1c150a24c92377cb39111811360536d31d7beb41 (patch)
tree38fe53968f4957ed29bfc2bdb35d5eb2b6c1ad1e
parent94a8294ff94a7137521e90f42f131ff864d314d6 (diff)
document different types for "device" and improve startup description;
this is really an mbalmer diff, tweaked by myself ok deraadt mbalmer
-rw-r--r--sbin/ldattach/ldattach.824
1 files changed, 16 insertions, 8 deletions
diff --git a/sbin/ldattach/ldattach.8 b/sbin/ldattach/ldattach.8
index fc38a7a916a..21f6dff2d94 100644
--- a/sbin/ldattach/ldattach.8
+++ b/sbin/ldattach/ldattach.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ldattach.8,v 1.5 2007/11/03 16:59:34 deraadt Exp $
+.\" $OpenBSD: ldattach.8,v 1.6 2007/11/03 17:18:50 jmc Exp $
.\"
.\" Copyright (c) 2007 Marc Balmer <mbalmer@openbsd.org>
.\"
@@ -35,13 +35,11 @@ Depending on the line discipline being attached, one or more options may be
applied.
.Pp
.Nm
-can be used from the command line or in
-.Xr ttys 5
-entries to attach line disciplines at system startup time by having
+can be run from the command line or at system startup by having
.Xr init 8
-start
-.Nm
-on the designated interface.
+read
+.Xr ttys 5
+entries to attach line disciplines.
.Pp
The following options are available:
.Bl -tag -width Ds
@@ -116,6 +114,15 @@ should be a string of the form
.Dq cuaXX
or
.Dq /dev/cuaXX .
+.Pp
+.Xr cua 4
+devices should be used when
+.Nm
+is started from the command line;
+when started using
+.Xr init 8 ,
+.Xr tty 4
+devices should be used.
.El
.Pp
If
@@ -145,7 +152,8 @@ tty01 "/sbin/ldattach nmea" unknown on
.Xr nmea 4 ,
.Xr sl 4 ,
.Xr tty 4 ,
-.Xr ttys 5
+.Xr ttys 5 ,
+.Xr init 8
.Sh HISTORY
The
.Nm