Homework: after encrypting a file, I edit it, and the block is changed and re-encrypted with the same block number as a counter.
Question: can you discover something about ciphertext which allows you to guess plaintext? If so, what?
Completing this homework will introduce you to disk encryption theory and will help understand the need for XTS-like modes.