Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

General discussion • Re: deleting files in /var/log/journal/b9bf88f1420b453cac1e0c8c00401061

$
0
0
A possible alternative is to put /var/log in tmpfs (virtual memory) so it gets cleaned out during every reboot (and the log files don't wear out the SD/SSD).

Something like this In /etc/fstab:

Code:

tmpfs /var/log tmpfs defaults,noatime,size=16m 0 0

Or stick it on spinning rust. No worries about lifetime write limits there.

Statistics: Posted by thagrol — Mon Feb 17, 2025 6:20 pm



Viewing all articles
Browse latest Browse all 8609

Trending Articles