Skip to main content

Spare your Raspberry pi SD card

1 min read

SD cards can stand a finite number of write cycles. And the debian system on the Raspberry pi is very often writing logs in /var/log/... so cards can get burned quickly. The solution? this simple script (compatible with debian Jessie): log2ram. All the logs are saved in RAM, and flushed to the SD card every hour by default.