From 8b64b1b64eaeb7efd0ae7ffe5d2b9076164c2a84 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 12 Jan 2014 23:02:00 +0100 Subject: [PATCH] Limit /run to 8M. --- src/initscripts/init.d/mountkernfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/initscripts/init.d/mountkernfs b/src/initscripts/init.d/mountkernfs index 37e66d8bd8..f7be82d01e 100644 --- a/src/initscripts/init.d/mountkernfs +++ b/src/initscripts/init.d/mountkernfs @@ -31,7 +31,7 @@ case "${1}" in if ! mountpoint /run &> /dev/null; then boot_mesg -n " /run" ${NORMAL} - mount -n -t tmpfs -o nosuid,nodev,mode=755 /run /run || failed=1 + mount -n -t tmpfs -o nosuid,nodev,mode=755,size=8M /run /run || failed=1 fi boot_mesg "" ${NORMAL} -- 2.39.5