From d0d6d738c1d169d94373bf539f66fed4669dfd2e Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Sun, 22 Aug 2010 11:38:23 +0200 Subject: Adapt the tempfs sizes ... --- initramfs/stage3-stuff/init | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'initramfs/stage3-stuff/init') diff --git a/initramfs/stage3-stuff/init b/initramfs/stage3-stuff/init index 50bd604c..1c34cf78 100755 --- a/initramfs/stage3-stuff/init +++ b/initramfs/stage3-stuff/init @@ -573,7 +573,7 @@ if [ -n "${bldmod}" ] ; then RDEV=/dev/dnbd0 if [ -z $nodnbdcache ] ; then # variable not really used yet mkdir /dnbd - mount -n -o 'size=10%' -t tmpfs tmpfs /dnbd + mount -n -o 'size=20%' -t tmpfs tmpfs /dnbd ( cat /dev/zero > /dnbd/cache 2>/dev/null || echo "ok" >/tmp/cache ) & clientopt="-c /dnbd/cache" waitfor /tmp/cache 10000 @@ -725,7 +725,6 @@ else unset aufs unionfs fi - # runtimer [ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] && \ echo "** Filesystem setup started at $(sysup)" @@ -756,7 +755,7 @@ elif [ -z "${cowloop}" ] ; then # fire up hardware disk/tmp setup first hwautocfg disk & echo "Using bind mounts to ramdisk for rw access" - mount -n -t tmpfs -o size=${tmpfssize} ramfs ${rwdir} + mount -n -t tmpfs -o size=75% ramfs ${rwdir} for path in ${D_BINDMPTS} ; do mkdir -p ${rwdir}/${path} >/dev/null 2>&1 mount -n --bind ${rwdir}/${path} /mnt/${path} -- cgit v1.2.3-55-g7522