Roland Mainz <roland.mainz at nrubsig.org> wrote: > Alan Coopersmith wrote: > > Darren J Moffat wrote: > > > - A modification to "/etc/profile" (and the matching csh file) to set > > > TMPDIR > > > to "/tmp/${LOGNAME}" if TMPDIR was not set yet. > > > > Note that this will move the default location used for files > > created with tempnam() etal. from the on-disk /var/tmp to the > > tmpfs /tmp. Does anything depend on being able to access > > such files across reboots (like editor autosave/recovery) ? > > AFAIK no since APIs like |tmpfile()| and |tmpnam()| are for temporary > data only and they should not be used for permanent storage (e.g. AFAIK > it is a bug when applications would use these APIs for storing permanent > data).
Storing larger amounts of data in /var/tmp is a relict from older UNIX releases and not longer correct since 1988 when tmpfs was introduced. In former times, peole did tend to put larger anout of data in /var/tmp but this is no longer a good idea since tmpfs results in typically large amounts of fast storage to be available in /tmp. J?rg -- EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin js at cs.tu-berlin.de (uni) schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily