3 ms·
Given that they should persist, the better way would be /var/tmp I would think, at least if persistence means "should survive reboot". Even before shifting to
by mpyne 14y ago
Given that they should persist, the better way would be /var/tmp I would think, at least if persistence means "should survive reboot".
Even before shifting to tmpfs I'm pretty sure Fedora was erasing the contents of /tmp at startup (and I know Gentoo/OpenRC is).
There might be an even more appropriate FHS-compliant directory (/var/run perhaps?)
- RobAley 14y agoApologies, by persist I meant just beyond the end of that run of the software (i.e. the software itself couldn't manage/delete the files), to see what went "wrong". Deleting at reboot is perfectly fine. /var/run "This directory contains system information data describing the system since it was booted" which doesn't seem to fit my use case that well. Not to say there isn't another directory that does fit, but I haven't found it.