Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2016 12:46:44 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Call-out ports renamed cuadX -> cuauX -- when?
Message-ID:  <alpine.BSF.2.20.1610111244560.6688@wonkity.com>
In-Reply-To: <20161011005255.a54c4215.freebsd@edvax.de>
References:  <af98a804-be12-8a27-a1bd-4c9dd2f73a87@passap.ru> <20161011002250.067f2b85.freebsd@edvax.de> <20161011005255.a54c4215.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 Oct 2016, Polytropon wrote:

> Addition:
>
> On my FreeBSD 8 home system, "man 4 sio" contains the following
> convention in the FILES section:
>
>     /dev/ttyd?       for callin ports
>     /dev/ttyd?.init
>     /dev/ttyd?.lock  corresponding callin initial-state and lock-state
>                      devices
>
>     /dev/cuad?       for callout ports
>     /dev/cuad?.init
>     /dev/cuad?.lock  corresponding callout initial-state and lock-state
>                      devices
>
>     /etc/rc.d/serial  examples of setting the initial-state and lock-state
>                       devices
>
> The same text is in the 10.3 manpage.
>
> But as I said, those do not seem to (automatically?) exist:
>
> crw-rw----  1 uucp  dialer    0,  49 2016-10-10 23:49:07 /dev/cuau0
> crw-rw----  1 uucp  dialer    0,  50 2016-10-10 23:49:07 /dev/cuau0.init
> crw-rw----  1 uucp  dialer    0,  51 2016-10-10 23:49:07 /dev/cuau0.lock
>
> and:
>
> crw-------  1 root  wheel     0,  46 2016-10-10 23:49:07 /dev/ttyu0
> crw-------  1 root  wheel     0,  47 2016-10-10 23:49:07 /dev/ttyu0.init
> crw-------  1 root  wheel     0,  48 2016-10-10 23:49:07 /dev/ttyu0.lock
>
> So the naming change mentioned in The FreeBSD Handbook, section
> 25.2.1. Serial Cables and Ports:
>
> 	Call-out ports are named /dev/cuauN on FreeBSD versions 10.x
> 	and higher and /dev/cuadN on FreeBSD versions 9.x and lower.
>
> doesn't seem to apply, even though the manpages state something
> different.

I have not looked at that source, but some parts of the Handbook use 
entities for the current supported releases.  That would show the wrong 
release numbers here, if those entities were used.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1610111244560.6688>