]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Limit /run to 8M.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 12 Jan 2014 22:02:00 +0000 (23:02 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 12 Jan 2014 22:02:00 +0000 (23:02 +0100)
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}