[libvirt] [PATCH] Use XDG Base Directories instead of storing in home directory

Eric Blake eblake at redhat.com
Wed May 2 18:02:05 UTC 2012


On 05/02/2012 11:53 AM, William Jon McCann wrote:
> As defined in:
> http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

If I'm not mistaken, this is v3?  When using git send-mail, you can use
--subject-prefix=PATCHv3 to make it more obvious to reviewers.

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

Also, listing a summary of changes since v2, after the --- line, can aid
in review.

I haven't looked closely at the patch yet, but hope to get to it today.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120502/3489ae1d/attachment-0001.sig>


More information about the libvir-list mailing list