From cb8b38ab31d6cbfc6a32d921a5b1caacb253eae7 Mon Sep 17 00:00:00 2001 From: kris Date: Sun, 12 Oct 2003 00:19:45 +0000 Subject: [PATCH] Bump default /etc size from 2MB to 5MB to deal with bloat^Wgrowth in the size of /etc. --- etc/rc.d/initdiskless | 7 +++---- etc/rc.initdiskless | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/etc/rc.d/initdiskless b/etc/rc.d/initdiskless index e33ec21578b9..a05b9bfebb48 100644 --- a/etc/rc.d/initdiskless +++ b/etc/rc.d/initdiskless @@ -58,10 +58,9 @@ # # If a subdirectory contains the file 'md_size', the contents of the # file is used to determine the size of the memory filesystem, in 512 -# byte sectors. The default is 8192 (4MB). You only have to specify an +# byte sectors. The default is 10240 (5MB). You only have to specify an # md_size if the default doesn't work for you (i.e. if it is too big or -# too small). Note that in -current the default is 4096 (2MB). For -# example, /conf/base/etc/md_size might contain '16384'. +# too small). For example, /conf/base/etc/md_size might contain '16384'. # # If /conf//SUBDIR.cpio.gz exists, the file is cpio'd into # the specified /SUBDIR (and a memory filesystem is created for /SUBDIR @@ -112,7 +111,7 @@ mount_md() { create_md() { if [ "x`eval echo \\$md_created_$1`" = "x" ]; then if [ "x`eval echo \\$md_size_$1`" = "x" ]; then - md_size=4096 + md_size=10240 else md_size=`eval echo \\$md_size_$1` fi diff --git a/etc/rc.initdiskless b/etc/rc.initdiskless index e33ec21578b9..a05b9bfebb48 100644 --- a/etc/rc.initdiskless +++ b/etc/rc.initdiskless @@ -58,10 +58,9 @@ # # If a subdirectory contains the file 'md_size', the contents of the # file is used to determine the size of the memory filesystem, in 512 -# byte sectors. The default is 8192 (4MB). You only have to specify an +# byte sectors. The default is 10240 (5MB). You only have to specify an # md_size if the default doesn't work for you (i.e. if it is too big or -# too small). Note that in -current the default is 4096 (2MB). For -# example, /conf/base/etc/md_size might contain '16384'. +# too small). For example, /conf/base/etc/md_size might contain '16384'. # # If /conf//SUBDIR.cpio.gz exists, the file is cpio'd into # the specified /SUBDIR (and a memory filesystem is created for /SUBDIR @@ -112,7 +111,7 @@ mount_md() { create_md() { if [ "x`eval echo \\$md_created_$1`" = "x" ]; then if [ "x`eval echo \\$md_size_$1`" = "x" ]; then - md_size=4096 + md_size=10240 else md_size=`eval echo \\$md_size_$1` fi