Does rsync verify its writes?

2023-02-17 Thread anubis23 via rsync
Hi, you can use the switch --fsync to verify the transfer. From the manpage: --fsync   Cause the receiving side to fsync each finished file. This may slow down the transfer, but can help to   provide peace of mind when updating critical files. -- Please use reply-all

[feature request?]: Show progress only for big files

2023-02-17 Thread anubis23 via rsync
Hi, I've read through the rsync manpage, this mailing list, asked Google and studied lots of posts on stackexchange.com (stackoverflow, superuser...), askubuntu.com and some others, concerning rsync's capabilities of showing progress information. But all I've found was what I already knew:

Re: Does rsync verify its writes?

2023-02-17 Thread Robin Lee Powell via rsync
That's not the same as a read-back write verification. I believe that in general, rsync assumes that the disk actually wrote whatever it was told to write. However, a second pass with --checksum will, in fact, read the entirety of both files; if a --checksum run doesn't actually transfer

Re: Does rsync verify its writes?

2023-02-17 Thread Hardy via rsync
Robin is right. Read back verification has lost its meaning since old days when we used extremely unreliable media or transports. Who writes to floppies anymore? In those old days you could/should use any copy program with a -v verify flag. But read-back wore down your floppy faster, so in