From b53cfef01fc3ac40de9939001e1a8fc9f2f9a205 Mon Sep 17 00:00:00 2001 From: minoura Date: Wed, 6 Sep 2000 14:29:41 +0000 Subject: [PATCH] Adjust ramdisk size. --- distrib/x68k/floppies/ramdisk.sysinst/Makefile | 13 +++++++------ sys/arch/x68k/conf/INSTALL | 8 ++++---- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/distrib/x68k/floppies/ramdisk.sysinst/Makefile b/distrib/x68k/floppies/ramdisk.sysinst/Makefile index 02e5bf7122b3..42a3050297eb 100644 --- a/distrib/x68k/floppies/ramdisk.sysinst/Makefile +++ b/distrib/x68k/floppies/ramdisk.sysinst/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2000/08/30 23:51:52 jhawk Exp $ +# $NetBSD: Makefile,v 1.9 2000/09/06 14:29:41 minoura Exp $ TOP= ${.CURDIR}/.. WARNS=1 @@ -25,16 +25,17 @@ LISTS= list CRUNCHCONF= ${CBIN}.conf MTREE= mtree.conf -RAMDISKSPT= 15 -RAMDISKCYLS= 70 -RAMDISKSIZE!= expr ${RAMDISKSPT} \* ${RAMDISKCYLS} \* 2 +RAMDISKSPT= 17 +RAMDISKCYLS= 42 +RAMDISKHEADS= 3 +RAMDISKSIZE!= expr ${RAMDISKSPT} \* ${RAMDISKCYLS} \* ${RAMDISKHEADS} realall: ${IMAGE} ${IMAGE}: ${CBIN} ${AUXDEPENDS} ${MTREE} ${LISTS} passwd dd if=/dev/zero of=${IMAGE} count=${RAMDISKSIZE} - vnconfig -v -c ${VND_CDEV} ${IMAGE} 512/${RAMDISKSPT}/2/${RAMDISKCYLS} - newfs -B be -m 0 -o space -i 5120 -c 80 ${VND_RDEV} + vnconfig -v -c ${VND_CDEV} ${IMAGE} 512/${RAMDISKSPT}/${RAMDISKHEADS}/${RAMDISKCYLS} + newfs -B be -m 0 -o space -i 4096 -c 80 ${VND_RDEV} mount ${VND_DEV} ${MOUNT_POINT} mtree -def ${.CURDIR}/${MTREE} -p ${MOUNT_POINT}/ -U TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \ diff --git a/sys/arch/x68k/conf/INSTALL b/sys/arch/x68k/conf/INSTALL index 004d3a6baf2c..ee2c4915c4a9 100644 --- a/sys/arch/x68k/conf/INSTALL +++ b/sys/arch/x68k/conf/INSTALL @@ -1,4 +1,4 @@ -# $NetBSD: INSTALL,v 1.28 2000/07/05 16:18:02 minoura Exp $ +# $NetBSD: INSTALL,v 1.29 2000/09/06 14:29:41 minoura Exp $ # # INSTALL -- installation kernel. @@ -6,7 +6,7 @@ include "arch/x68k/conf/std.x68k" -#ident "INSTALL-$Revision: 1.28 $" +#ident "INSTALL-$Revision: 1.29 $" maxusers 4 @@ -14,9 +14,9 @@ maxusers 4 options MEMORY_DISK_HOOKS options MEMORY_DISK_IS_ROOT # Force root on memory-disk options MEMORY_DISK_SERVER=0 # No user space hooks -options MINIROOTSIZE=2100 # 1.2M, same as a 130mm floppy +#options MINIROOTSIZE=2400 # 1.2M, same as a 130mm floppy #options MINIROOTSIZE=2880 # 1.44M, same as a 90mm floppy -#options MINIROOTSIZE=2048 +options MINIROOTSIZE=2142 # 42*17*3 ## System kernel configuration. See options(4) for more detail.