Aside from UPS power and surge protection, the other popular idea is the set up some of the filesystem as temporary RAM disks. This is proposed several places https://raymii.org/s/blog/Broken_Corrup ... _Card.html and http://www.ideaheap.com/2013/07/stoppin ... pberry-pi/. However in the latter reference there is a "disclaimer" following some suggested code:
Thus my question is should I try this method to minimize writes to the SD card or is it no longer an issue?The following two lines should be added to /etc/fstab:UPDATE (unverified): I have been told that /var/run is now a symlink to a tmpfs filesystem, anyways, so you may not need to add /var/run anymore, and adding it may cause issues.
Code: Select all
none /var/run tmpfs size=1M,noatime 00 none /var/log tmpfs size=1M,noatime 00
And, what about using the noatime option?
Thanks for your time...RDK