From owner-freebsd-current@FreeBSD.ORG Thu Jul 15 10:33:21 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CC8616A4CE; Thu, 15 Jul 2004 10:33:21 +0000 (GMT) Received: from mailout1.pacific.net.au (mailout1.pacific.net.au [61.8.0.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1359943D1F; Thu, 15 Jul 2004 10:33:21 +0000 (GMT) (envelope-from bde@zeta.org.au) Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87])i6FAXJ4u000392; Thu, 15 Jul 2004 20:33:19 +1000 Received: from epsplex.bde.org (katana.zip.com.au [61.8.7.246]) i6FAXHnl024039; Thu, 15 Jul 2004 20:33:18 +1000 Date: Thu, 15 Jul 2004 20:33:17 +1000 (EST) From: Bruce Evans X-X-Sender: bde@epsplex.bde.org To: Poul-Henning Kamp In-Reply-To: <10970.1089877690@critter.freebsd.dk> Message-ID: <20040715200906.X3138@epsplex.bde.org> References: <10970.1089877690@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: stable@FreeBSD.org cc: current@FreeBSD.org cc: Marcel Moolenaar Subject: Re: [TEST/REVIEW/HEADSUP] tty drivers mega-patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2004 10:33:21 -0000 On Thu, 15 Jul 2004, Poul-Henning Kamp wrote: > In message <20040715171007.X2308@epsplex.bde.org>, Bruce Evans writes: > >'i' and 'l' were intentionally not placed at the end, to keep unit > >numbers at the end and to keep the initial and lock state devices out > >of the normal device namespace (so ttyd* matches only the data devices). > > This makes less sense because it prevent us from using 'i' and 'l' > as tty driver identifiers. Indeed. The namespace seemed to be much larger when I added them these. I once planned to rename the world to ttyd* and cuaa*, but experience showed that putting an indication of the driver name in the device name is better. > >> > I would prefer to stick to the "tty" and "cua" prefixes however. > > > >Actually, cu* makes considerably more sense and is less of an > >anachronism than tty (teletypewriter, remember them? (*)). > > I think we should be consistent here, I don't like serial > ports to have names like "ucom" and "uart", "dcons" etc. Also, (controlling) tty device names must be of the form "tty" or "console", for ps to understand and display properly. Even existing names like /dev/ttyc00 can't be displayed properly in the 2 columns available in ps output. Bruce