]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/initscripts/init.d/mountkernfs
Limit /run to 8M.
[ipfire-2.x.git] / src / initscripts / init.d / mountkernfs
index 37e66d8bd87a775df793cf113548d65708270d7b..f7be82d01e5097e158a8cf032743f756d196ebdc 100644 (file)
@@ -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}