Subject: addendum to new source snapshot...
To: None <port-alpha@NetBSD.ORG>
From: Chris G Demetriou <Chris_G_Demetriou@BALVENIE.PDL.CS.CMU.EDU>
List: port-alpha
Date: 11/28/1995 20:58:37
If you're planning to install new bootblocks, using the
arch/alpha/stand code included in the source snapshot i just
announced, you'll need the patch below to make 'installboot' work
properly.
sorry 'bout that...
chris
--- cut here ---
Index: src/sys/arch/alpha/stand/installboot.c
===================================================================
RCS file: /usr/users/cgd/NetBSD/cvs/src/sys/arch/alpha/stand/installboot.c,v
retrieving revision 1.2
diff -c -r1.2 installboot.c
*** 1.2 1995/11/23 06:31:10
--- installboot.c 1995/11/29 01:53:44
***************
*** 301,308 ****
if (fstatfs(fd, &statfsbuf) != 0)
err(1, "statfs: %s", boot);
! if (strncmp(statfsbuf.f_fstypename, "ufs", MFSNAMELEN))
! errx(1, "%s: must be on a UFS filesystem", boot);
if (fsync(fd) != 0)
err(1, "fsync: %s", boot);
--- 301,308 ----
if (fstatfs(fd, &statfsbuf) != 0)
err(1, "statfs: %s", boot);
! if (strncmp(statfsbuf.f_fstypename, MOUNT_FFS, MFSNAMELEN))
! errx(1, "%s: must be on a FFS filesystem", boot);
if (fsync(fd) != 0)
err(1, "fsync: %s", boot);