XDG_SESSION_TMPDIR

Oswald Buddenhagen ossi at kde.org
Sun Apr 25 01:43:11 PDT 2010


On Sun, Apr 25, 2010 at 03:44:24AM +0200, Lennart Poettering wrote:
> On Fri, 23.04.10 17:19, Ryan Lortie (desrt at desrt.ca) wrote:
> > --
> 
> Dude, please don't add two dashes on a single line into your
> mails.
>
or maybe you should reconfigure your mailer to recognize only actual
sigdashes? ;)

> > All processes belonging to the same session share the XDG_SESSION_TMPDIR
> > environment variable (set or unset).  Specifically, any processes
> > activated by the session D-Bus must have this variable set or unset
> > accordingly.
> 
> I'd argue that XDG_SESSION_RUNTIME_DIR is a more appropriate name, since
> I think the data you pointed out above is more like /var/run than it is
> what /tmp should be used for. 
> 
that i would agree with.

> 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.

> > The directory is always on a native local (read: not NFS or FUSE)
>
why no FUSE, anyway? why is "native" a hard requirement, not merely a
strong suggestion?



More information about the xdg mailing list