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:
parent
a8ab9d63f5
commit
b00f85864d
@ -57,7 +57,7 @@ elif ! mountinfo -q /run; then
|
|||||||
ebegin "Mounting /run"
|
ebegin "Mounting /run"
|
||||||
rc=0
|
rc=0
|
||||||
if ! fstabinfo --mount /run; then
|
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=$?
|
rc=$?
|
||||||
fi
|
fi
|
||||||
if [ $rc != 0 ]; then
|
if [ $rc != 0 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user