From owner-freebsd-questions@freebsd.org Mon Oct 10 22:43:35 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9836CC0CA42 for ; Mon, 10 Oct 2016 22:43:35 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward5h.cmail.yandex.net (forward5h.cmail.yandex.net [IPv6:2a02:6b8:0:f35::15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5AEC6143 for ; Mon, 10 Oct 2016 22:43:35 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [77.88.29.85]) by forward5h.cmail.yandex.net (Yandex) with ESMTP id 5FB7A20FDC for ; Tue, 11 Oct 2016 01:43:22 +0300 (MSK) Received: from smtp2p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2p.mail.yandex.net (Yandex) with ESMTP id 46AC41A8000C for ; Tue, 11 Oct 2016 01:43:21 +0300 (MSK) Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fujdByvwZA-hLEq2CUa; Tue, 11 Oct 2016 01:43:21 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 Subject: Re: Call-out ports renamed cuadX -> cuauX -- when? To: freebsd-questions@freebsd.org References: <20161011002250.067f2b85.freebsd@edvax.de> From: Boris Samorodov Message-ID: <80a20864-f441-2181-707b-6d4ae2ee76c8@passap.ru> Date: Tue, 11 Oct 2016 01:43:20 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161011002250.067f2b85.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2016 22:43:35 -0000 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@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