On Tue, 25 Nov 2003, Pete Wenzel <[EMAIL PROTECTED]> wrote:
[ ... ]
> The above is BAD (nonoptimal) behavior; the entire file is transferred,
> even though it could simply have been linked. It seems that "a" is
> transferred before it is determined that a suitable equivalent (linked)
> file "b" al
On Tue, Nov 25, 2003 at 03:30:53PM -0800, Pete Wenzel wrote:
> The rsync 2.5.6 TODO file mentions the need for hard link test cases.
> Here is one in which a linked file is unnecessarily transferred in full.
>
> # Setup initial directories
> mkdir src dest
> dd if=/dev/zero bs=1024 count=10
The rsync 2.5.6 TODO file mentions the need for hard link test cases.
Here is one in which a linked file is unnecessarily transferred in full.
# Setup initial directories
mkdir src dest
dd if=/dev/zero bs=1024 count=1 of=src/a 2>/dev/null
rsync -a src/. dest/.
ln src/a src/b
# At