diff options
author | Dirk von Suchodoletz | 2009-03-26 19:33:39 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2009-03-26 19:33:39 +0100 |
commit | c5c75f345360bca82697fb1f79bfb06ab48da2fb (patch) | |
tree | 255875963bcdef0714492b8f73adc8f9cd4f5e7d /initramfs/stage3-stuff/init | |
parent | Fix the tmpsize assignment for AUFS/UnionFS usage (fixing #2755) (diff) | |
download | core-c5c75f345360bca82697fb1f79bfb06ab48da2fb.tar.gz core-c5c75f345360bca82697fb1f79bfb06ab48da2fb.tar.xz core-c5c75f345360bca82697fb1f79bfb06ab48da2fb.zip |
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
Diffstat (limited to 'initramfs/stage3-stuff/init')
-rwxr-xr-x | initramfs/stage3-stuff/init | 2 |
1 files changed, 2 insertions, 0 deletions
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 |