Call-out ports renamed cuadX -> cuauX -- when?

Boris Samorodov bsam at passap.ru
Mon Oct 10 22:43:35 UTC 2016


11.10.2016 01:22, Polytropon пишет:
> On Mon, 10 Oct 2016 20:49:50 +0300, Boris Samorodov wrote:
>> Hi All,
>>
>> I've just came across this text at TFH (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.
>> ---
>>
>> Seems not to be true. My 9.3-STABLE machine has cuau*:
>> ---
>> % uname -a
>> FreeBSD uni.wart.ru 9.3-STABLE FreeBSD 9.3-STABLE #0 r306337: Mon Sep 26
>> 19:56:26 MSK 2016     bsam at uni.wart.ru:/usr/obj/usr/src/sys/GENERIC  i386
>> % % ls -l /dev/cua*
>> crw-rw----  1 uucp  dialer  0x29 26 сен 22:04 /dev/cuau0
>> crw-rw----  1 uucp  dialer  0x2a 26 сен 22:04 /dev/cuau0.init
>> crw-rw----  1 uucp  dialer  0x2b 26 сен 22:04 /dev/cuau0.lock
>> ---
> 
> Same on my FreeBSD 8 home system:
> 
> % ll /dev/cua*
> 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

Thanks.

>> I failed to find the reference commit. Can someone recall when did the
>> change occure?
> 
> It probably has happened somewhere in v11... The Thinkpad laptop
> running 10.3 I have here, connected to the "dock" with a serial
> port, also shows the cucu0 device similar to your listing.
> 
> Maybe the cuad0 port gets created dynamically somehow? In fact,
> I cannot remember having seen cuad0 anywhere... even worse, on
> older FreeBSD versions, cuaa0 was the port name used for modems

Which FreeBSD version is it?
At first cuaa* names were transferred to cuad* and then (after rather
short period) to cuau*.

> or mice, if I remember correctly...
> 
> So maybe it's just a "multi-typo"? ;-)

Let's find out the truth. :-)

-- 
WBR, bsam


More information about the freebsd-questions mailing list