[libvirt] [PATCHv4] Use XDG Base Directories instead of storing in home directory
Daniel P. Berrange
berrange at redhat.com
Mon May 14 14:17:32 UTC 2012
On Thu, May 03, 2012 at 12:36:27PM -0400, William Jon McCann wrote:
> As defined in:
> http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
>
> This offers a number of advantages:
> * Allows sharing a home directory between different machines, or
> sessions (eg. using NFS)
> * Cleanly separates cache, runtime (eg. sockets), or app data from
> user settings
> * Supports performing smart or selective migration of settings
> between different OS versions
> * Supports reseting settings without breaking things
> * Makes it possible to clear cache data to make room when the disk
> is filling up
> * Allows us to write a robust and efficient backup solution
> * Allows an admin flexibility to change where data and settings are stored
> * Dramatically reduces the complexity and incoherence of the
> system for administrators
FYI, I have applied this now that 0.9.12 is released.
Everyone beware that what was in their $HOME/.libvirt directory will
now be found in $HOME/.config/libvirt
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list