Subject: Re: pstat -t
To: John M Vinopal <banshee@www.resort.com>
From: matthew green <mrg@eterna.com.au>
List: current-users
Date: 06/20/1996 00:34:27
   
   should pstat -t track the console?

as the console is a MD allocated thing, it is up to the relevant
console initialisation code to do the tty_attach() call.

the sparc port does this.  pstat -t on my machine gives:

34 terminal devices
  LINE  RAW  CAN  OUT  HWT LWT    COL STATE      SESS  PGID DISC
ttya      0    0    0 2080 256     34 OC            0     0 ppp
ttyb      0    0    0 1248 256      0 -             0     0 term
console   0    0    0 1248 256     58 OC       6d8f60   183 term
ttyp0     0    0    0 1248 256      0 OC            0     0 term
ttyp1     0    0    0 1248 256      0 OC       784080  6175 term
ttyp2     0    0    0 1248 256  13885 OC       6d88c0  6434 term
ttyp3     0    0    0 1248 256    120 OC       6d8fa0   234 term
ttyp4     0    0    0 1248 256     24 OC       6d8680 11245 term
ttyp5     0    0    0 1248 256    887 OC       6d8720   302 term
ttyp6     0    0    0 1248 256   4998 OC       6d8cc0   240 term
ttyp7     0    0    0 1248 256     17 OC       6d8bc0   242 term
ttyp8     0    0    0 1248 256  10286 OC       6d81a0   244 term
ttyp9     0    0    0 1248 256     17 OC       734f40   248 term
ttypa     0    0    0 1248 256     17 OC       734d20   249 term
ttypb     0    0    0 1248 256    136 OC       734be0   256 term
ttypc     0    0    0 1248 256      0 -             0     0 term
ttypd     0    0    0 1248 256      0 -             0     0 term
ttype     0    0    0 1248 256      0 -             0     0 term
ttypf     0    0    0 1248 256      0 -             0     0 term
ttyq0     0    0    0 1248 256      0 -             0     0 term
ttyq1     0    0    0 1248 256      0 -             0     0 term
ttyq2     0    0    0 1248 256      0 -             0     0 term
ttyq3     0    0    0 1248 256      0 -             0     0 term
ttyq4     0    0    0 1248 256      0 -             0     0 term
ttyq5     0    0    0 1248 256      0 -             0     0 term
ttyq6     0    0    0 1248 256      0 -             0     0 term
ttyq7     0    0    0 1248 256      0 -             0     0 term
ttyq8     0    0    0 1248 256      0 -             0     0 term
ttyq9     0    0    0 1248 256      0 -             0     0 term
ttyqa     0    0    0 1248 256      0 -             0     0 term
ttyqb     0    0    0 1248 256      0 -             0     0 term
ttyqc     0    0    0 1248 256      0 -             0     0 term
ttyqd     0    0    0 1248 256      0 -             0     0 term
ttyqe     0    0    0 1248 256      0 -             0     0 term

on my IPX where ttya is really the console, i don't have a line
for ttya and console -- just console.

it's possible that other ports (than the sparc) don't do this
the same yet.

.mrg.