XDG_SESSION_TMPDIR

Oswald Buddenhagen ossi at kde.org
Sun Apr 25 09:30:58 PDT 2010


On Sun, Apr 25, 2010 at 03:52:47PM +0200, Lennart Poettering wrote:
> On Sun, 25.04.10 10:43, Oswald Buddenhagen (ossi at kde.org) wrote:
> > > Also, there already is XDG_CACHE_HOME, which is better aligned with
> > > what traditional /tmp does. Your XDG_SESSION_TMPDIR kinda overlaps
> > > with that, doesn't it?
> > > 
> > nope. caching is expected to outlive sessions and reboots. the spec
> > doesn't mention it anywhere, but it is most certainly meant to
> > correspond with the FHS's definitions.
> 
> Well, it says "non-essential (cached)". For me that reads as if it can
> be dropped without any bad effects.
> 
ok, so install an rc script which clears your /var/tmp and /var/cache
on each boot just because it can. ;)


More information about the xdg mailing list