From owner-freebsd-questions@freebsd.org Tue Oct 11 18:46:51 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 AEA33C0DFAE for ; Tue, 11 Oct 2016 18:46:51 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 644B8F6C for ; Tue, 11 Oct 2016 18:46:51 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id u9BIkinv067239 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 11 Oct 2016 12:46:44 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id u9BIkiRG067236; Tue, 11 Oct 2016 12:46:44 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 11 Oct 2016 12:46:44 -0600 (MDT) From: Warren Block To: Polytropon cc: freebsd-questions@freebsd.org Subject: Re: Call-out ports renamed cuadX -> cuauX -- when? In-Reply-To: <20161011005255.a54c4215.freebsd@edvax.de> Message-ID: References: <20161011002250.067f2b85.freebsd@edvax.de> <20161011005255.a54c4215.freebsd@edvax.de> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 11 Oct 2016 12:46:44 -0600 (MDT) 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: Tue, 11 Oct 2016 18:46:51 -0000 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.