Bump default /etc size from 2MB to 5MB to deal with bloat^Wgrowth in

the size of /etc.
This commit is contained in:
Kris Kennaway 2003-10-12 00:19:45 +00:00
parent 66f314b5f2
commit 63d707097e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121014
2 changed files with 6 additions and 8 deletions

View File

@ -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/<special_dir>/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

View File

@ -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/<special_dir>/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