meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
home_automation:raspberry:card_wear [2016/04/25 08:02]
niziak
home_automation:raspberry:card_wear [2018/09/10 14:36] (current)
niziak
Line 25: Line 25:
 ===== Use tmpfs ===== ===== Use tmpfs =====
 <file | /​etc/​fstab>​ <file | /​etc/​fstab>​
-tmpfs           ​/tmp            tmpfs   ​defaults,​nosuid,​nodev,​mode=1777,​size=10% ​       0       0 +tmpfs   ​/tmp                     ​tmpfs   ​defaults,​nosuid,​nodev,​mode=1777,​size=10% ​       0       0 
-tmpfs           ​/​var/​tmp ​       tmpfs   ​defaults,​nosuid,​nodev,​mode=1777,​size=10% ​       0       0+tmpfs   ​/​var/​tmp ​                ​tmpfs   ​defaults,​nosuid,​nodev,​mode=1777,​size=10%        0       0 
 +tmpfs   /​var/​cache/​apt/​archives ​ tmpfs   ​defaults,​nosuid,​nodev,​mode=1777,​size=80%        0       0
 </​file>​ </​file>​
  
Line 43: Line 44:
  
  
-===== Remove disc logging =====+===== Disable ​logging ​to disc ===== 
 + 
 +<code bash> 
 +systemctl stop mosquitto 
 +systemctl disable mosquitto 
 +</​code>​
  
 <​code>​apt-get remove anacron</​code>​ <​code>​apt-get remove anacron</​code>​
Line 54: Line 60:
 apt-get install busybox-syslogd apt-get install busybox-syslogd
 </​code>​ </​code>​
 +
 +<file /​etc/​default/​busybox-syslogd>​
 +SYSLOG_OPTS="​-C256 -L -R remote.host.org"​
 +KLOG_OPTS=""​
 +</​file>​
  
 Use journald and configure it to use RAM: Use journald and configure it to use RAM: