View Single Post
Old 05-11-2016, 03:15 PM   #9
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Typically Linux uses a tmpfs (ramdisk) for /tmp -- which means on reboot everything gets wiped clean.
(Some distros don't use a tmpfs, in which case tmpfiles.d is used to empty /tmp as one of the tasks run on system startup.)

To me, that seems a much more reasonable way of dealing with orphaned temp files than using inaccurate date heuristics to purge random files in the course of normal operations.
eschwartz is offline   Reply With Quote