On 06/22/2011 07:24 PM, Anne Wilson wrote:
On Wednesday 22 Jun 2011 11:46:01 Timothy Murphy wrote:
> Marko Vojinovic wrote:
>> However, I didn't have a problem with the files in /tmp... ;-)
> Slightly OT, but I find I have lots of files in /tmp
> of whose purpose I know nothing - including many virtuosi-*.ini .
>
> Some of these on my Fedora-15 system date back to May, eg akonadi-tim* .
>
> I thought /tmp got emptied at regular intervals?
> Or does one have to specify this somewhere?
On a weekly basis I run
tmpwatch --mtime --verbose --verbose 168 /tmp
It's amazing how much cruft it takes out weekly (it's intelligent enough to
have an age limit on the files it removes). You can equally run a cron job to
clean a user ~/tmp if you have one.
Yes, it seems I'll have to resort to that as well...
I recall that Solaris used to have a setting that would clear /tmp at
boot. But, this option doesn't exist in Linux. The only other
alternative would be to turn /tmp into a tmpfs file system.
I suppose this is one way to deal with lazy programmers. :-) :-)