Replies: 2 comments
-
A local copy does not try to find differences in the file data, as that just tends to slow down the copy. You can override this using the |
Beta Was this translation helpful? Give feedback.
-
The --no-whole-file option does not prevent rsync from writing the entire file to the sdcard.
|
Beta Was this translation helpful? Give feedback.
-
I'm attempting to use rsync to write an OS image to a microSD card. My objective is to minimize the number of writes that need to happen so that I can avoid using the limited writes that the card supports during it's lifetime.
I'm using this command:
Re-writing the image with the same command, with stats output turned on, shows that the full contents of the file is being written.
I also observed the write buffer for the kernel increasing, e.g.
cat /proc/meminfo
What I expected to see happen is that rsync would read the data off of the card, and determine that no additional data need be written.
Am I using it wrong?
Beta Was this translation helpful? Give feedback.
All reactions