I'm using rsync on an embedded powerpc platform
with flash filesystem.
Because of a power-cycle a local file got corrupted.
This file is /flashfs/isd1, it has the correct size but
wrong MD5SUM (cd5...).

Using rsync to retrieve the right file (from a remote machine)
fails!
If I delete the file first, it works (see below).
How is this possible ?

---
N. van Bolhuis.




# md5sum /flashfs/isd1
cd56731612bd5ee2d5a0f4404024cc49  /flashfs/isd1
# ls -al /flashfs/isd1
-rwxr-xr-x    1 root     root     22914048 Nov  7 14:31 /flashfs/isd1
#
# rsync -vva main2_mmlan::isd/isd1 /flashfs/isd1
opening tcp connection to main2_mmlan port 873
sending daemon args: --server --sender -vvlogDtpre.isf . isd/isd1
receiving incremental file list
delta-transmission enabled
isd1 is uptodate

sent 28 bytes  received 60 bytes  58.67 bytes/sec
total size is 22914048  speedup is 260386.91
# md5sum /flashfs/isd1
cd56731612bd5ee2d5a0f4404024cc49  /flashfs/isd1
#
# rm /flashfs/isd1
# /mountedisd/bin/rsync -vva main2_mmlan::isd/isd1 /flashfs/isd1
opening tcp connection to main2_mmlan port 873
sending daemon args: --server --sender -vvlogDtpre.isf . isd/isd1
receiving incremental file list
delta-transmission enabled
isd1

sent 44 bytes  received 22916944 bytes  975190.98 bytes/sec
total size is 22914048  speedup is 1.00
#
# md5sum /flashfs/isd1
3b1f583da30579df2b3b30a8ea40ffd1  /flashfs/isd1
#



-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to