Subject: Re: Problem with ptys
To: Jason S. <root@myname.my.domain>
From: Dave Huang <khym@bga.com>
List: port-mac68k
Date: 04/20/1997 21:21:44
On Sun, 20 Apr 1997, Jason S. wrote:
> I used MAKEDEV to create some more ptys, and now neither dt nor X will
> work!  dt clears the screen and exits without any error message; X starts,
> puts up the clock, then exits complaining that it can't get any ptys
> (actually, xterm etc. are complaining).

> The ttyp[0-f] entries look like:
> 
> crw-rw-rw- 1 root wheel 5, [0-15] Apr 20 [time] /dev/ttyp[0-f]

Whoops, you've got an old MAKEDEV with a bug in it; ttyp? should have
major ID 4 and ptyp? should be major 5 (the buggy one made ttyp? 5 and
ptyp? 6, I think). Either get the latest MAKEDEV from ftp.netbsd.org,
/pub/NetBSD/NetBSD-current/src/etc/etc.mac68k, or fix it by hand...
look for the section in MAKEDEV that has pty*) at the start of a line
(somewhere around line 305):

				printf("rm -f tty%s%x; mknod tty%s%x c 4 %d; \
				    rm -f pty%s%x; mknod pty%s%x c 5 %d; ", \
				    n, i, n, i, b+i, n, i, n, i, b+i); }'`

Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 21 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++