/tmp and /var/tmp
/tmp and /var/tmp
Posted Mar 30, 2011 21:12 UTC (Wed) by nybble41 (subscriber, #55106)In reply to: /tmp and /var/tmp by dmarti
Parent article: Introducing /run
Tools like tmpwatch remove *old* temporary files; a reboot could potentially wipe out *recent* files which still contain needed data.
That said, I don't specifically know whether any common programs store data in /var/tmp which must persist across a reboot. I do know that MySQL occasionally stores certain temporary files there; these may be need for recovery after a crash or power interruption. KDE also stores cache files under /var/tmp; losing these at every reboot would be likely to negatively impact performance.
