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:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user