On Sun, Oct 25, 2009 at 6:26 PM, Carlos Carvalho <car...@fisica.ufpr.br>wrote:

> All files are new. What I find strange is that I'd expect the transfered
> bytes to be somewhat larger than the file sizes
>

Yeah, there are two problems.  One was that the %b modifier requires
late-logging (after the transfer finishes), and the log-format scanner
hadn't been updated to understand apostrophes, so it wouldn't find %'b.  If
nothing else triggered the after-the transfer output, you would have seen
some constant value (like 0) for every file.  The second issue is the reason
you saw several files at 0 followed by some too-big numbers: the %b and %c
routines are outputting differences in stats read/written values, and the
newest I/O code counts these bytes as they are read/written from/to the
socket, so the buffering gets in the way of the per-files stats.

I've checked in a fix for the apostrophe issue, and am working up a fix for
the per-transfer stats.  Thanks for the report!

..wayne..
-- 
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