Subject: Re: kern/31403: /dev/ptm tries to return /dev/ptyv0 which doesn't exist
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 09/27/2005 15:57:02
The following reply was made to PR kern/31403; it has been noted by GNATS.
From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@netbsd.org, kern-bug-people@netbsd.org,
gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc:
Subject: Re: kern/31403: /dev/ptm tries to return /dev/ptyv0 which doesn't exist
Date: Tue, 27 Sep 2005 11:56:21 -0400
On Sep 27, 2:47pm, simonb@wasabisystems.com (Simon Burge) wrote:
-- Subject: kern/31403: /dev/ptm tries to return /dev/ptyv0 which doesn't exi
| One idea is to remove 'v' from TTY_LETTERS in tty_bsdpty.c, and
| then adjust /dev/MAKEDEV so that ptyw0 is the minor number after
| ptyuf (ie, 96).
This is on i386. On other platforms other pty numbers are reserved...
The simplest solution is to un-reserve the numbers/names or use ptyfs.
I don't want to start adding unmaintainable hacks in the name of backwards
compatibility.
christos