keenerd / packer

Bash wrapper for pacman and AUR.
247 stars 48 forks source link

/var/tmp ? #91

Open quite opened 11 years ago

quite commented 11 years ago

Perhaps /var/tmp should be used as default for temporary files now, as /tmp typically is in ram, and compilations may get rather big...

mloskot commented 11 years ago

+1 from me

benruijl commented 11 years ago

+1

JotaRandom commented 11 years ago

if /var/tmp is deleted (they contents refered to pacaur) from reboot to reboot; then +1 else no fi

benruijl commented 11 years ago

/var/tmp is used for preservable temporary files, so they are not deleted on reboot. Maybe packer should clear up these files anyway.

JotaRandom commented 11 years ago

Maybe packer should clear up these files anyway.

+1 for this, I not want a 1G /var/tmp only containing remaments from packer builds

dumblob commented 10 years ago

+1 Even if I'm not particularly fan of /tmp mapped into RAM/swap, I'd rather see packer using /var/tmp instead of /tmp. Btw note the default policy defined in /usr/lib/tmpfiles.d/tmp.conf. As for the cleanup @benruijl mentioned above, I'd suggest introducing another option --no-cleanup while cleaning the /var/tmp by default after running packer (disregarding if it failed or not).