From fc0b5200c72e620d52c5e22cfc2f39fc8509b8fb Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Thu, 26 Mar 2009 18:04:19 +0000 Subject: Fix the tmpsize assignment for AUFS/UnionFS usage (fixing #2755) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2760 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/stage3-stuff/init | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'initramfs/stage3-stuff/init') diff --git a/initramfs/stage3-stuff/init b/initramfs/stage3-stuff/init index 201d2f25..1f88172f 100755 --- a/initramfs/stage3-stuff/init +++ b/initramfs/stage3-stuff/init @@ -700,10 +700,8 @@ fi # setup of client root filesystem dependent on the availability of UnionFS if [ -n "${union_type}" ] ; then echo "Using ${union_type} for rw access" - # adapting the size of tempfs usable - mount -o remount,size=${tmpfssize} ${devdir} mkdir -p ${rwdir}/union ${rwdir}/uniontmp /rorootfs - mount -n -t tmpfs none ${rwdir}/uniontmp + mount -n -t tmpfs -o size=${tmpfssize} none ${rwdir}/uniontmp # hack for handling unionfs with patched run-init mount -n --move /mnt /rorootfs if [ "$union_type" == "UnionFS" ]; then -- cgit v1.2.3-55-g7522