problem with batch mode:

Rainer Stengele rainer at diplan.de
Tue Sep 30 01:20:55 EST 2003


Hi!

I try to use batch mode to send only the difference between two packed CDs
by email over a slow line.

I create the diff with:

rsync -avvv --write-batch=rs CD-ROM-V6.6.32.zip CD-ROM-V6.6.31.zip

where

alfred:/Auslieferung/CD # l -n
-rw-r--r--   1 0        0        453248121 Sep  2 16:22 CD-ROM-V6.6.31.zip
-rw-r--r--   1 0        0        407416499 Sep 29 13:39 CD-ROM-V6.6.32.zip

resulting in:
-rwx------   1 0        0              53 Sep 29 16:29 rs.rsync_argvs*
-rw-------   1 0        0              90 Sep 29 16:29 rs.rsync_flist
-rw-------   1 0        0          165998 Sep 29 16:29 rs.rsync_csums
-rw-------   1 0        0        26634899 Sep 29 16:30 rs.rsync_delta
dr-xr-xr-x   4 0        0             453 Sep 29 16:30 ./


Trying to do a test fails. I do not not why:

alfred:/Auslieferung/CD # sh rs.rsync_argvs
send_files starting
server_recv(2) starting pid=6353
get_local_name count=1 CD-ROM-V6.6.31.zip
generator starting pid=6353 count=1
delta-transmission disabled for local transfer or --whole-file
recv_generator(CD-ROM-V6.6.31.zip,0)
send_files(0,CD-ROM-V6.6.32.zip)
CD-ROM-V6.6.32.zip
rs.rsync_argvs: line 1:  6352 Segmentation fault
     rsync -avvv --read-batch=rs ${1:-CD-ROM-V6.6.31.zip}
rsync: writefd_unbuffered failed to write 64 bytes: phase "unknown": Broken
pipe
rsync error: error in rsync protocol data stream (code 12) at io.c(515)
_exit_cleanup(code=12, file=io.c, line=515): about to call exit(12)


Can anybody give me a hint? Why is "delta-transmission disabled for local
transfer"?

Raina



More information about the rsync mailing list