Subject: Re: what's still using pccons ?
To: Luke Mewburn <lukem@wasabisystems.com>
From: Ben Harris <bjh21@netbsd.org>
List: tech-kern
Date: 05/10/2001 11:51:12
On Thu, 10 May 2001, Luke Mewburn wrote:

> After cleaning up various mistakes, here's the situation where we're
> at now:
>
> 	port	major	device
> 	----	-----	------
> 	arc	14	ttyC0
> 	arm32	4	ttyv0
> 	bebox	12	ttyv0
> 	i386	12	ttyv0
> 	prep	12	ttyv0

You should be aware that on acorn32 systems, ttyv? isn't pccons, but
vidcconsole.

> 	b) Deprecate pccons. Is there any real reason we
> 	   maintain this in parallel to wscons?

On acorn32, vidcconsole does virtual consoles and wscons doesn't.

> 	a) Modify openpty(3) to skip ttyv. This is the easiest
> 	   solution for now, but we lose 16 ptys. I'm going to
> 	   commit this for now; we can always revert once one
> 	   of the above occurs.

How about having openpty check the major number of ttyv? (and other names
it uses) and ignore ones that are different from ttyp0?

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>