Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/pmax/dev Allow the fake installation diskimage to b...



details:   https://anonhg.NetBSD.org/src/rev/728b98d2cbb1
branches:  trunk
changeset: 471703:728b98d2cbb1
user:      simonb <simonb%NetBSD.org@localhost>
date:      Thu Apr 08 13:55:37 1999 +0000

description:
Allow the fake installation diskimage to be 2MB as well as 32MB in size.

diffstat:

 sys/arch/pmax/dev/rz.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r ab2a09cc1e4c -r 728b98d2cbb1 sys/arch/pmax/dev/rz.c
--- a/sys/arch/pmax/dev/rz.c    Thu Apr 08 13:27:38 1999 +0000
+++ b/sys/arch/pmax/dev/rz.c    Thu Apr 08 13:55:37 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rz.c,v 1.44 1999/03/09 00:37:01 mrg Exp $      */
+/*     $NetBSD: rz.c,v 1.45 1999/04/08 13:55:37 simonb Exp $   */
 
 /*
  * Copyright (c) 1992, 1993
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: rz.c,v 1.44 1999/03/09 00:37:01 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rz.c,v 1.45 1999/04/08 13:55:37 simonb Exp $");
 
 /*
  * SCSI CCS (Command Command Set) disk driver.
@@ -961,7 +961,8 @@
            strlen(lp->d_packname) == 0 &&
            lp->d_npartitions == RAW_PART+1 &&
            lp->d_partitions[0].p_offset == 0 &&
-           lp->d_partitions[0].p_size == 65536 &&
+           (lp->d_partitions[0].p_size == 4096 ||
+            lp->d_partitions[0].p_size == 65536 ) &&
 #if 0
            lp->d_partitions[0].p_size == lp->d_partitions[RAW_PART].p_size &&
 #endif



Home | Main Index | Thread Index | Old Index