From owner-freebsd-arch@FreeBSD.ORG Mon Sep 20 13:50:31 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 235DC16A4D9 for ; Mon, 20 Sep 2004 13:50:31 +0000 (GMT) Received: from hanoi.cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CDEA43D3F for ; Mon, 20 Sep 2004 13:50:30 +0000 (GMT) (envelope-from rik@cronyx.ru) Received: (from root@localhost) by hanoi.cronyx.ru id i8KDl6WH043104 for arch@freebsd.org.checked; (8.12.8/vak/2.1) Mon, 20 Sep 2004 17:47:06 +0400 (MSD) (envelope-from rik@cronyx.ru) Received: from cronyx.ru (hi.cronyx.ru [144.206.181.94]) by hanoi.cronyx.ru with ESMTP id i8KDivqN043003; (8.12.8/vak/2.1) Mon, 20 Sep 2004 17:44:57 +0400 (MSD) (envelope-from rik@cronyx.ru) Message-ID: <414EDF66.8030907@cronyx.ru> Date: Mon, 20 Sep 2004 17:47:18 +0400 From: Roman Kurakin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp References: <2850.1095687433@critter.freebsd.dk> In-Reply-To: <2850.1095687433@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: arch@freebsd.org Subject: Re: [HEADSUP] naming of tty devices. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2004 13:50:31 -0000 Poul-Henning Kamp wrote: >In message <414ED61D.5080607@cronyx.ru>, Roman Kurakin writes: > > >>Just an idea: >> >> Why not to add some general device enumeration for all devices, >>especially >>if devices would behave the same? >> >>tty%{global_port} >>cua%{global_port} >> >> > >This doesn't work. > >There _are_ differences between serial devices and for instance >PTYs or NMDM devices have very particular semantics. > > but all tty devices have some generic abilities and behaviour, right? (Sorry, I am a bit sio-centric, I didn't ever look inside ptys.) rik