OPNsense Forum

English Forums => 26.7, 26.10 Series => Topic started by: waxhead on November 12, 2026, 11:40:37 PM

Title: /var/log to RAM disk
Post by: waxhead on November 12, 2026, 11:40:37 PM
Hi,

Under system->settings->miscellaneous it is possible to select "use memory file system for /var/log"
the information says that if you use /var/log as a RAM disk the log data will be lost on a reboot.

Why? It sound trivial to rsync the memory based /var/log to physical disk on a scheduled reboot/shutdown and vice versa on boot.
Yes, data will still be lost on a crash / power outage , but for planned restarts I don't see why loosing log data would be necessary.