1 |
>>>>> On Thu, 3 Nov 2011, Andreas K Huettel wrote: |
2 |
|
3 |
> On Donnerstag 03 November 2011 10:16:53 Michael Haubenwallner wrote: |
4 |
|
5 |
>> As we do have the "$delay before breaking old" period, usually with |
6 |
>> $delay="1 year": Should we also apply this $delay to the output of |
7 |
>> above command? |
8 |
|
9 |
> Makes all perfect sense... however I suggest to agree on a general |
10 |
> scheme and go ahead manually first if implementation and/or |
11 |
> discussion of its details or planned features is lingering... |
12 |
|
13 |
How about this: |
14 |
- Possible split points are only at the end of years. |
15 |
- Start at the end of the file and go backwards. |
16 |
- Split it whenever the piece after the split point is larger than $size. |
17 |
- Stop if the next split point is less than $delay ago. |
18 |
|
19 |
Reasonable values are 50 or 100 KiB for $size and 1 year for $delay, |
20 |
IMHO. |
21 |
|
22 |
ulrich |