On Mon, Nov 23, 2020 at 9:02 AM Jon LaBadie <jonfu@jgcomp.com> wrote:

Does dd write a complete final block to the destination.  If so, the image
would not be an exact copy unless the source size is an exact multiple of
the blocksize. 

I don't know. I have not tried it yet.

How would I verify something like that?
 
Gdisk reports my root filesystem is 240197632 1K blocks long.

$ factor 240197632
240197632: 2 2 2 2 2 2 2 2 2 2 2 2 2 109 269

So 2^13, or 8KB is the largest block size where input and output would match.


I don't quite follow the logic.

Can you please elaborate ?

--
Regards,
Sreyan Chakravarty