aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2012-12-22 08:15:50 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2012-12-22 08:37:45 -0600
commitb00f85864dffd6de406e109e74372618ced71312 (patch)
tree5cec1a42aada7ffd2383d8117169bc89466aa2d4
parenta8ab9d63f5ea41a1e5821e22ae95f9fa92b96e4d (diff)
Set a default size for /run on Linux
Reported-by: alpiturchi@gmail.com X-Gentoo-Bug: 447076 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=447076
-rw-r--r--sh/init.sh.Linux.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in
index 0eca7361..ed81a9ea 100644
--- a/sh/init.sh.Linux.in
+++ b/sh/init.sh.Linux.in
@@ -57,7 +57,7 @@ elif ! mountinfo -q /run; then
ebegin "Mounting /run"
rc=0
if ! fstabinfo --mount /run; then
- mount -t tmpfs -o mode=0755,nosuid,nodev tmpfs /run
+ mount -t tmpfs -o mode=0755,nosuid,nodev,size=10% tmpfs /run
rc=$?
fi
if [ $rc != 0 ]; then