Subject: Re: kern/31403: /dev/ptm tries to return /dev/ptyv0 which doesn't exist
To: Christos Zoulas <>
From: Simon Burge <>
List: netbsd-bugs
Date: 09/28/2005 12:51:46
Christos Zoulas wrote:

> On Sep 27,  2:47pm, (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.

It doesn't look like ptyfs is an option for the 3.0 branch.  The only
reference to it in _any_ kernel configuration file is this commented out

	thoreau 2> grep -r PTYFS */conf/[A-Z]???*
	i386/conf/GENERIC.MPACPI:#file-system PTYFS # experimental - /dev/ptm support
	thoreau 3> cat CVS/Tag

and mount_ptyfs(3) says:

     This filesystem may not be NFS-exported.  This filesystem is experimen-

So using ptyfs for at least the 3.0 branch doesn't seem like an option
unless this is addressed.

Simon Burge                            <>
NetBSD Support and Service: