From 1e992de2a63886e2126559e26d4dbcc7cf4f2e86 Mon Sep 17 00:00:00 2001 From: volumio Date: Wed, 4 Feb 2015 02:25:49 -0500 Subject: [PATCH] RAM Logging and mounts (only in Raspberry) --- scripts/raspberryconfig.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/raspberryconfig.sh b/scripts/raspberryconfig.sh index d436a90ec..0283c5362 100755 --- a/scripts/raspberryconfig.sh +++ b/scripts/raspberryconfig.sh @@ -8,6 +8,10 @@ touch /etc/fstab echo "proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 0 /dev/mmcblk0p2 / ext4 defaults,noatime 0 1 +tmpfs /var/log tmpfs size=20M,defaults,noatime,mode=0755 0 0 +tmpfs /var/cache/apt/archives tmpfs size=100M,defaults,noexec,nosuid,nodev,mode=0755 0 0 +tmpfs /var/spool/cups tmpfs size=100M,defaults,noatime,mode=0755 0 0 +tmpfs /var/spool/cups/tmp tmpfs defaults,noatime,mode=0755 0 0 " > /etc/fstab echo "Writing cmdline file"