Subject: Re: bootfloppy-990220.fs on PMG3MT266
To: Erik Bertelsen <erik@mediator.uni-c.dk>
From: Bill Studenmund <skippy@macro.Stanford.EDU>
List: port-macppc
Date: 02/24/1999 11:11:34
On Wed, 24 Feb 1999, Erik Bertelsen wrote:

> Furthermore when I try to install on a disk, it will consistently issue a
> diagnostic window saying that the /sbin/newfs /dev/rsd1a command failed, but
> not telling why it fails. This happens with default and with custom partitioning.
> 
> Exiting to the shell allows me to run disklabel as well as newfs to create
> my file systems.

I have an answer for this one!

sysinst recently gained the ability to log what commands spit out. It does
this by tying them to pty's. Unfortunatly the boot flopy doesn't contain
any pty's.

I think this patch to MAKEDEV would work. I chose to hand-code the pty's
as the normal pty maker makes 16, which is more than we need.

If Tsubai thinks it's ok, I'll commit it. :-)

Take care,

Bill

--- MAKEDEV     1999/01/16 01:40:28     1.8
+++ MAKEDEV     1999/02/24 19:09:44
@@ -98,6 +98,12 @@
 floppy)
        sh $0 std sd0 sd1 sd2 tty0 tty1 wscons
        sh $0 st0 st1 cd0 cd1 wd0 wd1 md0
+       mknod ttyp0 c 3 0
+       mknod ptyp0 c 4 0
+       mknod ttyp1 c 3 1
+       mknod ptyp1 c 4 1
+       mknod ttyp2 c 3 2
+       mknod ptyp2 c 4 2
        ;;
 
 std)