diff options
author | kris <kris@FreeBSD.org> | 2003-10-12 00:19:45 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2003-10-12 00:19:45 +0000 |
commit | cb8b38ab31d6cbfc6a32d921a5b1caacb253eae7 (patch) | |
tree | 5a4b995c7efd99772d6518c16fa317905fcc2907 | |
parent | 6a55ff3777d67df18d8d315cd2f925b3722db494 (diff) | |
download | FreeBSD-src-cb8b38ab31d6cbfc6a32d921a5b1caacb253eae7.zip FreeBSD-src-cb8b38ab31d6cbfc6a32d921a5b1caacb253eae7.tar.gz |
Bump default /etc size from 2MB to 5MB to deal with bloat^Wgrowth in
the size of /etc.
-rw-r--r-- | etc/rc.d/initdiskless | 7 | ||||
-rw-r--r-- | etc/rc.initdiskless | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/etc/rc.d/initdiskless b/etc/rc.d/initdiskless index e33ec21..a05b9bf 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/<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 diff --git a/etc/rc.initdiskless b/etc/rc.initdiskless index e33ec21..a05b9bf 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/<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 |