[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 [1][2]
in a cron job to clean it up regularly.

		Jerome

[1] http://fedorahosted.org/tmpwatch/
[2] http://aur.archlinux.org/packages.php?ID=23510
-- 
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20111129/16cd6368/attachment.asc>


More information about the arch-general mailing list