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