Vern Hoxie wrote:
> 
> On Wed, 26 Apr 2000, Steve Cohen wrote:
> 
> > What is the difference between ttyS0 (capital S) and ttys0 (small
> > s)?  Both of these devices are present in the /dev directory in my
> > Red Hat distribution.  I know that ttyS0 is COM1 but what the heck
> > is ttys0?
> 
> My first response to this was in error.  Acording to
> /usr/src/linux/Documentation/devices.txt, the psuedo tty's are
> designated:
> 
> Pseudo-TTY masters
> Type char
> Major 2
> Minor     0 = /dev/ptyp0    First PTY master
>           1 = /dev/ptyp1    Second PTY master
>              ...
>         255 = /dev/ptyef    256th PTY master
> 
> Pseudo-TTY slaves
> Type char
> Major 3
> Minor     0 = /dev/ttyp0    First PTY slave
>           1 = /dev/ttyp1    Second PTY slave
>              ...
>         256 = /dev/ttyef    256th PTY slave
> 
>         Pseudo-tty's are named as follows:
>         * Masters are "pty", slaves are "tty";
>         * the fourth letter is one of pqrstuvwxyzabcde indicating
>           the 1st through 16th series of 16 pseudo-ttys each, and
>         * the fifth letter is one of 0123456789abcdef indicating
>           the position within the series.
> 
> Sorry to have misled you.
> 
> vern
> 
> --
> Vernon C. Hoxie                                     [EMAIL PROTECTED]
> 3975 W. 29th Ave.                                        uucp: 303-455-2670
> Denver, Colo., 80212                                    voice: 303-477-1780
>                 Nothing but the heart can change the heart.
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-serial" in
> the body of a message to [EMAIL PROTECTED]

OK.  Sounds like I've got 256 pseudo-ttys on my system.  Why would I
need that many?  I only ran into these, by the way, once, when I was
doing something with the serial port and mistyped.

-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to [EMAIL PROTECTED]

Reply via email to