Subject: [PATCH 1/4] Increase the default md size for /etc.

From: Rumko <[email-masked]>
Date: Wed, 14 Apr 2010 11:04:35 +0000

Due to the blacklists, /etc/ssh has increased in size quite considerably and the default md_size is too small.
---
 etc/rc.d/initdiskless |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/etc/rc.d/initdiskless b/etc/rc.d/initdiskless
index 4c0798d..5d63d08 100644
--- a/etc/rc.d/initdiskless
+++ b/etc/rc.d/initdiskless
@@ -113,7 +113,11 @@ 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
+			if [ "$1" = "etc" ]; then
+				md_size=20480
+			else
+				md_size=4096
+			fi
 		else
 			md_size=`eval echo \\$md_size_$1`
 		fi
-- 
1.6.6.2