Subject: Re: pstat -t
To: matthew green <mrg@eterna.com.au>
From: Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu>
List: current-users
Date: 06/19/1996 13:53:01
> 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
> [ ... ]
> on my IPX where ttya is really the console, i don't have a line
> for ttya and console -- just console.
Also, note that on most ports, the console will _not_ be called
'console,' it'll be called by the name of the real device.
cgd