I want to leave a NAS on 24/7, I would like peoples thoughts & answers on reducing writes to the SD card. (Including if they think its a waste of time
Raspberry Pi 2 Model B (Quad Core CPU 900 MHz, 1 GB RAM)
OS Raspbian ( Release date: 2015-05-05 )
NAS as built from website guide here: http://www.howtogeek.com/139433/how-to- ... ge-device/
8GB Sandisk Ultra Class 10
Using Ram instead of card
adding code to
Code: Select all
sudo nano /etc/fstabCode: Select all
tmpfs /tmp tmpfs defaults,noatime,size=100M 0 0
tmpfs /var/tmp tmpfs defaults,noatime,size=100M 0 0
tmpfs /var/log tmpfs defaults,noatime,size=100M,mode=0755 0 0why have defaults?
what is mode 0755? why only log?
should /tmp have mode=1777?
I have also seen these written as:
Code: Select all
none /var/run tmpfs size=1M,noatime 00
none /var/log tmpfs size=1M,noatime 00any other nice methods to keep my card ticking away?
many thanks