Source-Changes-HG archive

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

[src/trunk]: src/distrib/sparc/ramdisk Mount the mfs /instfs with a reasonabl...



details:   https://anonhg.NetBSD.org/src/rev/e39f5ea232e1
branches:  trunk
changeset: 534203:e39f5ea232e1
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Jul 20 07:06:28 2002 +0000

description:
Mount the mfs /instfs with a reasonable inode density, otherwise it
runs out of space.
Problem found & fixed by Adam Lebsack <adam%lebsack.com@localhost> in [port-sparc/17614]

diffstat:

 distrib/sparc/ramdisk/dot.profile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r c01ac68d4890 -r e39f5ea232e1 distrib/sparc/ramdisk/dot.profile
--- a/distrib/sparc/ramdisk/dot.profile Sat Jul 20 06:59:19 2002 +0000
+++ b/distrib/sparc/ramdisk/dot.profile Sat Jul 20 07:06:28 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.16 2001/06/17 11:57:23 pk Exp $
+# $NetBSD: dot.profile,v 1.17 2002/07/20 07:06:28 lukem Exp $
 #
 # Copyright (c) 2000 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -45,6 +45,7 @@
 MACHINE=sparc
 INSTFS_MP=/instfs
 MINIROOT_FSSIZE=10000
+MINIROOT_BPINODE=1024
 
 if [ "${BOOTFS_DONEPROFILE}" != "YES" ]; then
 
@@ -55,7 +56,7 @@
        mount_ffs -o update /dev/md0a /
 
        # mount /instfs
-       mount_mfs -s $MINIROOT_FSSIZE swap $INSTFS_MP
+       mount_mfs -s $MINIROOT_FSSIZE -i $MINIROOT_BPINODE swap $INSTFS_MP
 fi
 
 # A cat simulator



Home | Main Index | Thread Index | Old Index