lör 2010-01-16 klockan 19:16 +0100 skrev Sebastian Pipping: > On 01/16/10 05:39, Mike Frysinger wrote: > > On Friday 15 January 2010 20:55:18 Sebastian Pipping wrote: > >> On 01/16/10 02:45, Mike Frysinger wrote: > >>> the better idea > >>> though would be to split your stuff along the proper lines. > >>> > >>> cache files = /var/cache/layman/ > >> > >> as i said: it's not a "normal" cache. > > > > you said but didnt explain why it's "special". these are merely caches of > > external overlays and xml caches of overlay lists. > > to me cache is something that speeds up operation but does not hold > content of real value. with layman overlay "checkouts" that's a bit > different. let's say a host overlay is taken offline: now the layman > copy is my only source. Page [1] describes /var/cache as > "Long term data which can be regenerated". so to me it's not a cache > because there might be data in there that we cannot regenerate. > > That is for the overlays, yeah? But hov about the cache_*.xml files?
I think what he meant was that should layman really only has one directory? One for cache (downloaded/downloadable lists of overlays? in /var/cache/layman/?), one for the make.conf and overlay.xml (/etc/layman/?) and maybe one more directory for the overlays (/var/lib/layman/?). That make.conf/overlay.xml may not go as cache, nor do the overlays themselves, but as I said, should really it all be in the same directory?
