From da801e20c25fdbc88967becd52ba3a6d0ddaf91e Mon Sep 17 00:00:00 2001 From: perry Date: Wed, 5 Nov 1997 03:39:51 +0000 Subject: [PATCH] Change default bootfloppy to 1.44M, and add a 1.2M "small" bootfloppy. --- distrib/i386/floppies/Makefile | 4 ++-- distrib/i386/floppies/bootfloppy-common/Makefile.inc | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/distrib/i386/floppies/Makefile b/distrib/i386/floppies/Makefile index 509ceb1afba4..9168695af22d 100644 --- a/distrib/i386/floppies/Makefile +++ b/distrib/i386/floppies/Makefile @@ -1,5 +1,5 @@ -# $NetBSD: Makefile,v 1.6 1997/06/14 18:56:00 perry Exp $ +# $NetBSD: Makefile,v 1.7 1997/11/05 03:39:51 perry Exp $ -SUBDIR= ramdisk bootfloppy +SUBDIR= ramdisk bootfloppy bootfloppy-small .include diff --git a/distrib/i386/floppies/bootfloppy-common/Makefile.inc b/distrib/i386/floppies/bootfloppy-common/Makefile.inc index 200d916ced97..5b5b82454e05 100644 --- a/distrib/i386/floppies/bootfloppy-common/Makefile.inc +++ b/distrib/i386/floppies/bootfloppy-common/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.7 1997/08/07 18:09:49 hannken Exp $ +# $NetBSD: Makefile.inc,v 1.8 1997/11/05 03:39:55 perry Exp $ # TOP is assumed to be defined by Makefile including this one. @@ -19,7 +19,8 @@ RAMDISK !=cd $(.CURDIR)/../ramdisk/; \ printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk-${REV}.fs\n" | \ ${MAKE} -s -f- -DISKTYPE= floppy5 +DISKTYPE?= floppy3 +DISKSIZE?= 2880 # Some reasonable values for the -i parameter to newfs are: # @@ -31,7 +32,7 @@ INO_BYTES?= 204800 CLEANFILES+= netbsd.ram.gz all: netbsd.ram.gz - dd if=/dev/zero of=${IMAGE} bs=100k count=12 + dd if=/dev/zero of=${IMAGE} count=${DISKSIZE} vnconfig -t ${DISKTYPE} -v -c ${VND_CDEV} ${IMAGE} disklabel -rw ${VND_CDEV} ${DISKTYPE} newfs -m 0 -o space -i ${INO_BYTES} -c 80 ${VND_RDEV} ${DISKTYPE}