Moving/merging a filesystem back into /

Kevin Korb kmk at
Sat Dec 7 12:43:53 MST 2013

Hash: SHA1

Agreed.  If your files are corrupt rsync and cp will have no way to
know that.  All they can do is copy the files that are there.

Even with -c you are comparing the files on the source with the files
on the target.  If there aren't any files on the target yet then you
are wasting tons of time checksumming files with nothing to compare
those checksums to.  Also, it is often faster to just re-copy than it
is to rsync -c.

On 12/07/13 14:10, Leen Besselink wrote:
> On Sat, Dec 07, 2013 at 10:34:16AM -0500, Charles Marcus wrote:
>> On 2013-12-07 10:16 AM, Kevin Korb <kmk at> wrote:
>>> The only way cp is going to corrupt files is if you have bad
>>> RAM in the system and in that case rsync probably will too.
>> I said that this person said that cp will silently copy
>> CORRUPTED files, not that it will silently CORRUPT files during
>> the copy process.
>> Meaning - if a file is already corrupted, cp will silently copy
>> it without complaint, but rsync won't.
>> Again, this is just what someone on the gentoo list claimed.
> If the file is already corrupted before copying I don't see any
> reason why rsync would do anything different than cp.
> The advantage of rsync over cp is you save time if you do an other 
> synchronisation when booted with the live-CD.
> In that case rsync could check the if the files are the same and
> could fix the data on the new location if that was corrupted. But
> rsync does not do that by default, by default it tries to sycn as
> fast as possible.
> If you want to check the data, you need -c I believe.
> When you do a sync, don't forget to add --delete as well to remove
> files that existed the first time but you want to remove the second
> time.
>> --
>> Best regards,
>> */Charles/*
>> -- Please use reply-all for most replies to avoid omitting the
>> mailing list. To unsubscribe or change options:
>> Before posting,
>> read:

- -- 
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at  (work)
	Orlando, Florida		kmk at (personal)
	Web page:
	PGP public key available on web site.
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -


More information about the rsync mailing list