diff options
-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 |