From c5c75f345360bca82697fb1f79bfb06ab48da2fb Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Thu, 26 Mar 2009 18:33:39 +0000 Subject: Combining #2755 and #2760 (as both is needed for some reason). git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2761 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/stage3-stuff/init | 2 ++ 1 file changed, 2 insertions(+) (limited to 'initramfs/stage3-stuff/init') diff --git a/initramfs/stage3-stuff/init b/initramfs/stage3-stuff/init index 1f88172f..b1de9a82 100755 --- a/initramfs/stage3-stuff/init +++ b/initramfs/stage3-stuff/init @@ -701,6 +701,8 @@ fi if [ -n "${union_type}" ] ; then echo "Using ${union_type} for rw access" mkdir -p ${rwdir}/union ${rwdir}/uniontmp /rorootfs + # adapting tempfs size of the device directory (takes /tmp in stage4) + mount -o remount,size=${tmpfssize} ${devdir} mount -n -t tmpfs -o size=${tmpfssize} none ${rwdir}/uniontmp # hack for handling unionfs with patched run-init mount -n --move /mnt /rorootfs -- cgit v1.2.3-55-g7522