From 72db133eef286ca7a68f2f1bd77e58465d17a57d Mon Sep 17 00:00:00 2001 From: James Swineson Date: Sun, 1 Sep 2019 23:22:25 +0800 Subject: [PATCH] remove tmpfs default 50% memory usage limit --- menhera.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menhera.sh b/menhera.sh index 514431b..ff39e43 100755 --- a/menhera.sh +++ b/menhera.sh @@ -82,7 +82,7 @@ menhera::prepare_environment() { echo "Creating workspace in '${WORKDIR}'..." # workspace mkdir -p "${WORKDIR}" - mount -t tmpfs tmpfs "${WORKDIR}" + mount -t tmpfs -o size=0,nr_blocks=0,nr_inodes=0 tmpfs "${WORKDIR}" # new rootfs mkdir -p "${WORKDIR}/newroot"