Compressed backup

Rusty Russell rusty at
Tue Jun 4 18:03:02 EST 2002

In message <20020604174317.A26097 at> you write:
> window of the data in the file (so that it is position-independent, but 
> data-dependent).  You simply perform a compression reset whenever this 
> heuristic is true (and N should be a number that's large enough so that you
> don't reset too often, yet small enough so that rsync can find the most
> matching data).  I was thinking a heuristic along the lines of "the least 
> significant bits of the previous 12 bytes are 101111010101" (a number derived
> from my initials), giving an N of 4096.  This would allow the compression
> resets to sync up at the first run of 12 identical bytes after the change in
> the source text.

No, it would allow you to sync up after the first 12 bytes which had
those LSBs, ie. after about 4096 bytes.

So, you don't win,
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.

More information about the rsync mailing list