From owner-freebsd-arch@FreeBSD.ORG Mon Sep 20 12:19:22 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 BCB7316A4CE for ; Mon, 20 Sep 2004 12:19:22 +0000 (GMT) Received: from burka.carrier.kiev.ua (burka.carrier.kiev.ua [193.193.193.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D30243D5E for ; Mon, 20 Sep 2004 12:19:22 +0000 (GMT) (envelope-from netch@lucky.net) Received: from burka.carrier.kiev.ua (netch@localhost [127.0.0.1]) by burka.carrier.kiev.ua with ESMTP id i8KCJD52029483; Mon, 20 Sep 2004 15:19:16 +0300 (EEST) (envelope-from netch@burka.carrier.kiev.ua) Received: (from netch@localhost) by burka.carrier.kiev.ua (8.12.11/8.12.11/Submit) id i8KCJD6c029480; Mon, 20 Sep 2004 15:19:13 +0300 (EEST) (envelope-from netch) Date: Mon, 20 Sep 2004 15:19:13 +0300 From: Valentin Nechayev To: Poul-Henning Kamp Message-ID: <20040920121913.GH89036@lucky.net> References: <20040920112733.GE84228@lucky.net> <99367.1095682142@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <99367.1095682142@critter.freebsd.dk> X-42: On X-Verify-Sender: Address has been verified (burka.carrier.kiev.ua) 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 Reply-To: netch@lucky.net 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 12:19:22 -0000 Mon, Sep 20, 2004 at 14:09:02, phk wrote about "Re: [HEADSUP] naming of tty devices.": >>When restoring terminal device from this name, now it is possible yet >>to determine terminal testing /dev/tty$x or /dev/cua$x; with your new >>scheme this will be impossible totally. > No, that is exactly the way it will work, and which today it doesn't. > ttyd0 and cuad0 is the same device. The difference between "tty" > and "cua" is how we react to DCD when opening. > You can never be > logged in vial both ttyd0 and cuad0 at the same time, so there is > no logging issue. I say not for logging, but for restoring full terminal name from short name. E.g. listing processes controlled by this terminal. Whether /bin/ps will list processes for both callin and callout port, when got "-t d1"? -netch-