errata at FreeBSD HandBook
Simon L. Nielsen
simon at FreeBSD.org
Thu Aug 28 23:10:12 UTC 2003
On 2003.08.28 20:19:49 +0100, Ceri Davies wrote:
> On Thu, Aug 28, 2003 at 05:52:10PM +0400, Sergey Zaikov wrote:
> > Hello, Doc at freebsd.Org!!!
> >
> > FreeBSD Handbook called /dev/cuaiaN as /dev/cuai0N.
> >
> > Or I'm wrong?
>
> No, you're right. There's also one instance of "cual0N".
> The attached patch should fix it; could someone confirm that Sergey
> and I haven't gone insane?
I checked of the sio(4) manual page, the sio(4) source code, and /dev on
a 4.8 and a 5.1 system. All confirm the that 'cua[il]a' are the correct
names, so I'm rather sure the change is correct.
> Index: serialcomms/chapter.sgml
> ===================================================================
> RCS file: /home/dcvs/doc/en_US.ISO8859-1/books/handbook/serialcomms/chapter.sgml,v
> retrieving revision 1.80
> diff -u -r1.80 chapter.sgml
> --- serialcomms/chapter.sgml 13 Jul 2003 20:36:53 -0000 1.80
> +++ serialcomms/chapter.sgml 28 Aug 2003 19:18:24 -0000
> @@ -387,10 +387,10 @@
> and <filename>/dev/cuaa<replaceable>N</replaceable></filename>
> (call-out) devices. FreeBSD also provides initialization devices
> (<filename>/dev/ttyid<replaceable>N</replaceable></filename> and
> - <filename>/dev/cuai0<replaceable>N</replaceable></filename>) and
> + <filename>/dev/cuaia<replaceable>N</replaceable></filename>) and
> locking devices
> (<filename>/dev/ttyld<replaceable>N</replaceable></filename> and
> - <filename>/dev/cual0<replaceable>N</replaceable></filename>). The
> + <filename>/dev/cuala<replaceable>N</replaceable></filename>). The
> initialization devices are used to initialize communications port
> parameters each time a port is opened, such as
> <literal>crtscts</literal> for modems which use
> @@ -1334,7 +1334,7 @@
> <filename>/etc/rc.serial</filename>:</para>
> <programlisting># Serial port initial configuration
> stty -f /dev/ttyid1 crtscts
> -stty -f /dev/cuai01 crtscts</programlisting>
> +stty -f /dev/cuaia1 crtscts</programlisting>
>
> </sect3>
> </sect2>
--
Simon L. Nielsen
FreeBSD Documentation Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20030829/ed531f81/attachment.sig>
More information about the freebsd-doc
mailing list