[arch-general] pacman/libalpm/libfetch do not honor TMPDIR
"Jérôme M. Berger"
jeberger at free.fr
Tue Nov 29 13:50:46 EST 2011
David Rosenstrauch wrote:
> On 11/25/2011 11:55 AM, Leonid Isaev wrote:
>> Actually, what is stupid is keeping /tmp in RAM. It is an important
>> dir, where
>> you might have an valuable info in case of a system crash. I could never
>> understand the logic behind this choice.
> Actually, I think it makes a lot of sense. It lets you truly use it as
> a repository for "temporary" files. Any files written there will get
> automatically wiped out at the next boot.
And if your machine only boots very rarely (because it runs
continuously or because you hibernate it instead of rebooting) then
your "temporary" folder is never cleaned up. The solution that makes
the most sense is to have /tmp on a disk and to use tmpwatch 
in a cron job to clean it up regularly.
mailto:jeberger at free.fr
Jabber: jeberger at jabber.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: OpenPGP digital signature
More information about the arch-general