[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1038399: RFP: log2ram -- Log2Ram is a collection of scripts designed to offload log files from storage to RAM, primarily aimed at Raspberry Pi systems. By storing log files in RAM, Log2Ram helps reduce the wear on storage devices, such as SD cards, and potentially extends their lifespan. Although initially developed for Raspberry Pi devices, Log2Ram is compatible with all Debian-based systems.



Package: wnpp
Severity: wishlist

* Package name    : log2ram
  Version         : 1.6.1 
  Upstream Author : Name <azlux@outlook.com>
* URL             : https://github.com/azlux/log2ram
* License         : (MIT/X)
  Programming Lang: (Bash)
  Description     : Log2Ram is a collection of scripts designed to offload log files from storage to RAM, primarily aimed at Raspberry Pi systems. By storing log files in RAM, Log2Ram helps reduce the wear on storage devices, such as SD cards, and potentially extends their lifespan. Although initially developed for Raspberry Pi devices, Log2Ram is compatible with all Debian-based systems.

Useful for RaspberryPi for not writing on the SD card all the time. You need it because your SD card doesn't want to suffer anymore!

Explanations: The script creates a /var/log mount point in RAM. So any writing of the log to the /var/log folder will not actually be written to disk (in this case to the SD card on a Raspberry Pi) but directly to RAM. By default, every day the CRON will synchronize the contents in RAM with the folder located on the physical disk. The script will also make this copy of RAM to disk in case of machine shutdowns (but, of course, it still won't do it in case of power failures). This way you can avoid excessive writing on the SD card and extend its life.

Log2Ram's script works on every Linux system.


Reply to: