summaryrefslogtreecommitdiffstats
path: root/initramfs/stage3-stuff/init
diff options
context:
space:
mode:
authorDirk von Suchodoletz2009-03-26 19:04:19 +0100
committerDirk von Suchodoletz2009-03-26 19:04:19 +0100
commitfc0b5200c72e620d52c5e22cfc2f39fc8509b8fb (patch)
tree7c4662cf0b9e9a017a5ab3d55ea722deebe898ad /initramfs/stage3-stuff/init
parentbetter define the VM-Vars at the end, because we change one of them sometimes (diff)
downloadcore-fc0b5200c72e620d52c5e22cfc2f39fc8509b8fb.tar.gz
core-fc0b5200c72e620d52c5e22cfc2f39fc8509b8fb.tar.xz
core-fc0b5200c72e620d52c5e22cfc2f39fc8509b8fb.zip
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
Diffstat (limited to 'initramfs/stage3-stuff/init')
-rwxr-xr-xinitramfs/stage3-stuff/init4
1 files changed, 1 insertions, 3 deletions
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