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
This commit is contained in:
William Hubbs 2012-12-22 08:15:50 -06:00
parent a8ab9d63f5
commit b00f85864d

View File

@ -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