Displaying 1 result from an estimated 1 matches for "x1000000000".
Did you mean:
1000000000
2013 Oct 06
1
Rsync copies more than the changes
I use rsync on an SSD which is slow at writing, but very fast at
reading, so it is important to me to avoid writing data.
I had hoped rsync would only write changes in files when using
--inplace, but it seems not:
# Make a 1 GB file
$ perl -e 'print "x"x1000000000' > 1g
# rsync it (as expected this costs 1 GB writes)
$ ./rsync-3.1.0/rsync --progress --inplace -cva 1g 1g.copy
# Change the first 200 bytes inplace
$ perl -e 'open(A,"+<",shift) || die; seek(A,1,1); print A "a\n"x100;' 1g.copy
# rsync again
$ ./rsync-3.1.0/rs...