You are not logged in.
Pages: 1
Hi everybody,
i just got Devuan working on my Odroid N2+ using the maveric image as starting point (works flawlessly 🥰).
Now in order to spare the eMMC I used to run log2ram on it but log2ram is dependent on systemd.
According to the developer it should also work with init.d only the init script is needed.
My question is, does anyone use log2ram with sysvinit or knows another simple tool I could use to write logs to ram? I have no experience with sysv so far and thought I'd ask before starting to tinker myself.
Thank you.
Offline
Okay after researching for another hour or so I found that log2ram is the successor of a project called transientlog which in turn was born out of an article from debian-administration.org called A transient /var/log - back in 2010 when systemd wasn't yet relevant.
Therefore I was able to apply transientlog almost without modification to my Devuan 5 install and for now it seems to work. It creates a RAM drive on startup and copies all log files into it. On shutdown/reboot it does the opposite. It copies all log files from the RAM drive to the eMMC card. The only thing I modified was the size of the RAM drive - from 25M to 90M because my log folder was already 38M in size.
I will keep monitoring the script to see if it is stable and report my findings.
Offline
Pages: 1