[HEADSUP] naming of tty devices.
Valentin Nechayev
netch at lucky.net
Mon Sep 20 05:19:22 PDT 2004
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-
More information about the freebsd-arch
mailing list