Date: Mon, 20 Sep 2004 15:19:13 +0300 From: Valentin Nechayev <netch@lucky.net> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: arch@freebsd.org Subject: Re: [HEADSUP] naming of tty devices. Message-ID: <20040920121913.GH89036@lucky.net> In-Reply-To: <99367.1095682142@critter.freebsd.dk> References: <20040920112733.GE84228@lucky.net> <99367.1095682142@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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-
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040920121913.GH89036>