From: Michael Tremer Date: Sun, 12 Jan 2014 22:02:00 +0000 (+0100) Subject: Limit /run to 8M. X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=8b64b1b64eaeb7efd0ae7ffe5d2b9076164c2a84;hp=-c Limit /run to 8M. --- 8b64b1b64eaeb7efd0ae7ffe5d2b9076164c2a84 diff --git a/src/initscripts/init.d/mountkernfs b/src/initscripts/init.d/mountkernfs index 37e66d8bd..f7be82d01 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}