From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9382,28ebd6517fddf41d,start X-Google-Attributes: gidf9382,public X-Google-Thread: 10d4db,28ebd6517fddf41d,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1993-05-03 03:17:58 PST Xref: gmd.de comp.os.linux:39338 comp.os.linux.announce:633 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!cs.utexas.edu!uunet!pipex!uknet!mcsun!news.funet.fi!hydra!hydra!not-for-mail From: rick@ee.uwm.edu (Rick Miller - Linux Device Registrar) Newsgroups: comp.os.linux,comp.os.linux.announce Subject: Naming Serial Devices Followup-To: comp.os.linux Date: 3 May 1993 13:02:25 +0300 Organization: Just me. Sender: wirzeniu@cs.Helsinki.FI Message-ID: <1s2qjhINNbe@hydra.Helsinki.FI> NNTP-Posting-Host: hydra.helsinki.fi Summary: Can we come to an agreement, *now*? Keywords: serial device names Okay folks... Since this affects almost *all* of us, I've posted it to both newsgroups. The naming of serial devices has been hairy from the beginning. First, it was simply "tty64", "tty65", "tty66", and so on. Then it got changed to "ttys1" through "ttys4" but some blessed UNIX geek started spreading the gospel according to "ttys0". That's where things *really* got confused. For a long time, both the SLS and H.J.Lu's distribution both had *MIXED* numberings for their serial tty's. ...and this is where I came in, and found the anomaly when composing the first release of the Linux Device List. So, I made the 0-3 numbering into the "official" (according to me) naming. As with my recent release, there was much wailing and gnashing of teeth. "What about my pty's?!?" they said, and a general consensus was reached that the serial devices would be named "ttyS?" with a CAPITAL "S" to make room for lots and lots of pty-slave pairs ...which it did. Within the last few months though, there have been rumblings from the multi- port camp about the "ttyS?" scheme, since names like "ttyS10" show up wrong through "ps" and the like as "ttyS1", being truncated. Now, finally, I think that such a brilliant idea has come up that I'm calling for willing consensus. Rather than throw ourselves into a hyperbolic trajectory like "tty00" or even "con??" or "ttyC??"... why not duplicate the PTY naming method, but with the first letter starting at CAPITAL "S" and going on down the line? So, here's the idea: Your standard first four: ttyS0, ttyS1, ttyS2, ttyS3, ...and then from there: ttyS4, ttyS5, ttyS6, ... , ttyS9, ttySa, ttySb, ttySc, ... , ttySf, ttyT0, ttyT1, ttyT2, ... , ttyT9, ttyTa, ttyTb, ttyTc, ... , ttyTf, So we're using tty[S-V][0-f] First letter is CAPITALIZED, second place is in hex. Well, waddaya think??? Rick Miller | Ricxjo Muelisto Send a postcard, get one back! | Enposxtigu bildkarton kaj vi ricevos alion! RICK MILLER // 16203 WOODS // MUSKEGO, WIS. 53150 // USA