-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 20/12/12 12:27 PM, Ulrich Mueller wrote:
> The FHS says:
> 
> /var/cache is intended for cached data from applications. Such
> data is locally generated as a result of time-consuming I/O or 
> calculation. The application must be able to regenerate or restore 
> the data.
> 
> Now I wonder: After removal of e.g. the Portage tree from a system,
> it is generally not possible to restore it. (It can be refetched,
> but not to its previous state.)
> 
> Same is true for distfiles, at least to some degree. They may have 
> vanished upstream or from mirrors.
> 
> Maybe /var/lib would be a better choice? It would also take care
> of the issue with fetch-restricted files.
> 

I had asked more or less the same thing a few days ago.  The cases
where this would matter are few, however, and those users that need
the state preserved could ensure it by including these specific paths
in their backups and/or ensuring any cache-cleaner scripts (and AFAIK
there aren't any that wouldn't be custom-installed) do not remove them.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iF4EAREIAAYFAlDTUkgACgkQ2ugaI38ACPDgAwEAhFH3Jc8E56WfePr3W1396+Jk
65q7X8eEwNAYr8eJLwQA/1Xi7E42004M3frMDCDDBVZeD1EYmKkvXA8POhQUZc36
=JMod
-----END PGP SIGNATURE-----

Reply via email to