Re: Different blocksize problem with librsync

Donovan Baarda <[email protected]> Mon, 20 Feb 2006 17:29:18 +0000
Newsgroups gmane.network.librsync.general
Organization http://minkirri.apana.org.au/~abo/
Message-ID <[email protected]>
On Thu, 2006-02-16 at 10:59 +0530, IMCC wrote:
> hi,
>       i am working on librsync 0.9.6 .
>         
>       while generating signature file blocksize=squareroot(old-file)
>       
>       if old file updated then file size and block size of  new file
>       increases.
>       
>       thus blocksize of both signature file and new file are different
>                            
>       Is this will couses problem in generating delta or patching 
>       delta to old file.
> 
>      if problem arise how to handle them 

I'm pretty sure that blocksize is stored in the signature, and is hence
ignored for anything except generating signatures... the delta
generation uses the same blocksize as in the signature, and the patch is
block-size independent.

-- 
Donovan Baarda <[email protected]>
http://minkirri.apana.org.au/~abo/



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642