[Patches] tempfile: /usr/tmp not FHS-compliant

Guido van Rossum guido@python.org
Fri, 03 Mar 2000 11:31:26 -0500


> This patch changes the assignment of the 'attempdirs' list on line 26
> to try /tmp first, /var/tmp next and /usr/tmp as third, instead of
> /usr/tmp first and /tmp next.

I think adding /var/tmp is a good one, but I'm not sure about moving
/tmp first.  I think that there are (used to be?) systems where /tmp
doesn't have sufficient space but /usr/tmp does.  On the other hand,
on Solaris /tmp is a lot faster than /usr/tmp -- /tmp is an in-memory
filesystem (backed by swap space) while /usr/tmp is on a regular local
disk.

Other opinions please?

--Guido van Rossum (home page: http://www.python.org/~guido/)