Re: Damaged source medium during rsync

2006-08-31 Thread Wayne Davison
On Wed, Aug 30, 2006 at 04:27:36PM -0400, Matt McCutchen wrote: > That behavior is not the default. It is enabled by --inplace. Also, when --partial is used (without a partial-dir) the erroneous file will be kept, overwriting any existing destination file. I personally have RSYNC_PARTIAL_DIR set

Re: Damaged source medium during rsync

2006-08-30 Thread Matt McCutchen
I should clarify... On 8/30/06, Felix E. Klee <[EMAIL PROTECTED]> wrote: I assume that the file will be synchronized partially, overwriting any file of the same name on the destination medium. That behavior is not the default. It is enabled by --inplace. If that is the case, is there a way

Re: Damaged source medium during rsync

2006-08-30 Thread Matt McCutchen
On 8/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: flames invited if I've got this wrong. UNLESS --inplace is specified, the error will be detected and the update aborted before the target file is touched. You're right. The sender will behave as if the damaged regions of the file contai

RE: Damaged source medium during rsync

2006-08-30 Thread tony
flames invited if I've got this wrong. UNLESS --inplace is specified, the error will be detected and the update aborted before the target file is touched. >- --- Original Message --- - >From: [EMAIL PROTECTED] >To: rsync@lists.samba.org >Sent: Wed, 30 Aug 2006 12:30:11 > >What hap

Damaged source medium during rsync

2006-08-30 Thread Felix E. Klee
What happens when rsync'ing a file that is damaged bacause of a bad sector on the source medium? I assume that the file will be synchronized partially, overwriting any file of the same name on the destination medium. If that is the case, is there a way to make rsync check readability of files