Richard,
> The drive doesn't know which (logical) blocks are not part of
> a file, unless the OS tells it.
Inxdeed. I mixed up the drive smarts with the filesystem the OS puts on the
drive.
iow, the drive has no concept of used and non-used blocks. It just goes for
the (write)usage-count of each block on its drive. Contents are irrelevant.
It could swap two blocks that are both in use by a partition and the
filesystem on it.
The /only/ reason I could imagine for having blocks in their erased state
(not sure if that is all zeroes or all ones) is that, when swapping such a
block in, the erase cycle could be skipped - making it a bit faster.
Regards,
Rudy Wieser