On Tue, Dec 22, 2009 at 4:18 AM, Tomas Gustavsson <tompl...@gmail.com> wrote:
> Still, I do think that rsync should give up after a long time, but it doesn't.

Yeah, if it gets a read error for a part of a file, it substitutes
zeros for the data and keeps trying to read the file.  That could make
it take an eternity for a large file that is entirely unreadable.  It
would also mark the file bad, and retry sending it, so expect double
the fun.

So, yes, this is something that could definitely be improved in a
future version.  Perhaps simply adding a read-error counter, and
stopping after a certain point (truncating the file's data) with an
option to override the short-circuiting would be good.

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