[fhs-discuss] user-specific directories in /run

Lennart Poettering lennart at poettering.net
Sun May 22 09:29:40 PDT 2011


On Sun, 22.05.11 18:14, Richard Hartmann (richih.mailinglist at gmail.com) wrote:

Heya,

> Optionally, this could be called $XDG_RUN or similar.

This is already implemented on Fedora and other modern distributions,
and documented in the XDG basedir specification:

http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

Look for XDG_RUNTIME_DIR.

This is even exposed already in glib via g_get_user_runtime_dir().

http://developer.gnome.org/glib/unstable/glib-Miscellaneous-Utility-Functions.html#g-get-user-runtime-dir

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the fhs-discuss mailing list