Re: samba file locking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



John R Pierce wrote:
> Les Mikesell wrote:
>> Rsync normally creates the updated file under a tmp name and renames only when 
>> the transfer is complete.  It has the advantage that if you repeat the tranfer 
>> with unchanged files it doesn't actually do it so you don't have to track which 
>> files in a directory need to be updated - and it should work over ssh anywhere 
>> you could use scp.
>>   
> 
> I thought the default mode for rsync involved block checksumming and 
> only sending blocks that changed, which get written in place.   there's 
> options which modify this behavior.

No, the default creates a new file that is renamed only when complete.  This is 
much healthier for files that may be in use - or transfers that fail.  Only the 
differing blocks are transfered but a new complete copy is reassembled from the 
old file and changes.

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux