From 38a0de0624cc6891a3fdb3d591e9c55c8ea89b66 Mon Sep 17 00:00:00 2001 From: James Swineson Date: Sun, 1 Sep 2019 23:40:29 +0800 Subject: [PATCH] Update menhera.sh --- menhera.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menhera.sh b/menhera.sh index 22ab900..dc6d74d 100755 --- a/menhera.sh +++ b/menhera.sh @@ -155,7 +155,7 @@ menhera::swap_root() { # move mounts for i in dev proc sys run; do mount --move "${OLDROOT}/$i" "${NEWROOT}/$i"; done - mount -t tmpfs tmpfs "${NEWROOT}/tmp" + mount -t tmpfs -o size=0,nr_blocks=0,nr_inodes=0 tmpfs "${NEWROOT}/tmp" mkdir -p "${WORKDIR}" mount --move "${OLDROOT}/${WORKDIR}" "${WORKDIR}"