Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Apr 2007 08:34:09 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        "R. B. Riddick" <arne_woerner@yahoo.com>
Cc:        freebsd-fs@freebsd.org, Mike Wolman <mike@nux.co.uk>, freebsd-questions@freebsd.org
Subject:   Re: some thoughts about gmirror
Message-ID:  <46174971.9080809@infracaninophile.co.uk>
In-Reply-To: <219395.34786.qm@web30302.mail.mud.yahoo.com>
References:  <219395.34786.qm@web30302.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigF8D3837A75C93AA178B7C53B
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

R. B. Riddick wrote:

> Sounds like rsync can already do that (I am not sure right now, if rsyn=
c can
> find updated areas within a large file, or if it just copies the while =
updated
> file even if it is a large one)...

rsync will find an updated area within a big file.  The algorithm is to
divide any such file into 100kB[*] chunks, calculate checksums of each of=

those chunks and only transfer the chunks where the checksum differs
between source and destination.  More detail here:

    http://samba.org/rsync/how-rsync-works.html
    http://rsync.samba.org/tech_report/tech_report.html

	Cheers,

	Matthew

[*] For some value of 100kB.

--=20
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW


--------------enigF8D3837A75C93AA178B7C53B
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGF0l38Mjk52CukIwRCCxEAJ4q/ZGzMlrQGWh9lfrwSvLmG6h1CgCgk9E/
MdnGSQcZinVp7yibvR3XO+c=
=i3/L
-----END PGP SIGNATURE-----

--------------enigF8D3837A75C93AA178B7C53B--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46174971.9080809>