I am informed that drive wiping tools do not work reliably on SSDs due to such features as wear leveling. Here, for example, a quote from MakeUseOf:
[T]o comply with wear levelling, the SSD must constantly move data around the drive to ensure all blocks are worn at an equal rate. Using a secure “file shredder” to overwrite a specific file or folder many numbers of times is not going to work, because the drive writes all new incoming data to various different blocks, depending on its needs. Only the drive knows where this data is written . . . .
But explanations of TRIM seem to indicate that, in fact, only the OS knows where the data is written. For instance, Wikipedia says,
The TRIM command enables an operating system to notify the SSD of pages which no longer contain valid data.
These accounts seem to conflict. If the OS knows where valid data is located, then presumably the OS also knows where invalid data is located. In that case, the OS should be able to inform a drive wiping program of the blocks needing to be erased. Then, contra MakeUseOf, a file shredder should work.
What am I missing?