Adjust ramdisk size.

This commit is contained in:
minoura 2000-09-06 14:29:41 +00:00
parent 256d7e4d2e
commit b53cfef01f
2 changed files with 11 additions and 10 deletions

View File

@ -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}/.. TOP= ${.CURDIR}/..
WARNS=1 WARNS=1
@ -25,16 +25,17 @@ LISTS= list
CRUNCHCONF= ${CBIN}.conf CRUNCHCONF= ${CBIN}.conf
MTREE= mtree.conf MTREE= mtree.conf
RAMDISKSPT= 15 RAMDISKSPT= 17
RAMDISKCYLS= 70 RAMDISKCYLS= 42
RAMDISKSIZE!= expr ${RAMDISKSPT} \* ${RAMDISKCYLS} \* 2 RAMDISKHEADS= 3
RAMDISKSIZE!= expr ${RAMDISKSPT} \* ${RAMDISKCYLS} \* ${RAMDISKHEADS}
realall: ${IMAGE} realall: ${IMAGE}
${IMAGE}: ${CBIN} ${AUXDEPENDS} ${MTREE} ${LISTS} passwd ${IMAGE}: ${CBIN} ${AUXDEPENDS} ${MTREE} ${LISTS} passwd
dd if=/dev/zero of=${IMAGE} count=${RAMDISKSIZE} dd if=/dev/zero of=${IMAGE} count=${RAMDISKSIZE}
vnconfig -v -c ${VND_CDEV} ${IMAGE} 512/${RAMDISKSPT}/2/${RAMDISKCYLS} vnconfig -v -c ${VND_CDEV} ${IMAGE} 512/${RAMDISKSPT}/${RAMDISKHEADS}/${RAMDISKCYLS}
newfs -B be -m 0 -o space -i 5120 -c 80 ${VND_RDEV} newfs -B be -m 0 -o space -i 4096 -c 80 ${VND_RDEV}
mount ${VND_DEV} ${MOUNT_POINT} mount ${VND_DEV} ${MOUNT_POINT}
mtree -def ${.CURDIR}/${MTREE} -p ${MOUNT_POINT}/ -U mtree -def ${.CURDIR}/${MTREE} -p ${MOUNT_POINT}/ -U
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \ TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \

View File

@ -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. # INSTALL -- installation kernel.
@ -6,7 +6,7 @@
include "arch/x68k/conf/std.x68k" include "arch/x68k/conf/std.x68k"
#ident "INSTALL-$Revision: 1.28 $" #ident "INSTALL-$Revision: 1.29 $"
maxusers 4 maxusers 4
@ -14,9 +14,9 @@ maxusers 4
options MEMORY_DISK_HOOKS options MEMORY_DISK_HOOKS
options MEMORY_DISK_IS_ROOT # Force root on memory-disk options MEMORY_DISK_IS_ROOT # Force root on memory-disk
options MEMORY_DISK_SERVER=0 # No user space hooks 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=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. ## System kernel configuration. See options(4) for more detail.