diff options
author | Dirk von Suchodoletz | 2009-03-26 19:04:19 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2009-03-26 19:04:19 +0100 |
commit | fc0b5200c72e620d52c5e22cfc2f39fc8509b8fb (patch) | |
tree | 7c4662cf0b9e9a017a5ab3d55ea722deebe898ad /initramfs/stage3-stuff/init | |
parent | better define the VM-Vars at the end, because we change one of them sometimes (diff) | |
download | core-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-x | initramfs/stage3-stuff/init | 4 |
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 |