summaryrefslogtreecommitdiffstats
path: root/initramfs/stage3-stuff/init
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs/stage3-stuff/init')
-rwxr-xr-xinitramfs/stage3-stuff/init2
1 files changed, 2 insertions, 0 deletions
diff --git a/initramfs/stage3-stuff/init b/initramfs/stage3-stuff/init
index 561d11bd..201d2f25 100755
--- a/initramfs/stage3-stuff/init
+++ b/initramfs/stage3-stuff/init
@@ -700,6 +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
# hack for handling unionfs with patched run-init