[dm-crypt] Is erasing hard disk drive mandatory?

Heinz Diehl htd at fancy-poultry.org
Fri May 30 19:47:43 CEST 2014

On 30.05.2014, Thomas Bastiani wrote: 

> It may be that files that you create and then delete will trigger 
> a TRIM operation if dm-crypt (and
> eventually LVM) are configured to pass TRIM through. But the rest of
> your "securely erased" drive is still not TRIM-ed.

As far as I know, mkfs discards blocks while creating the filesystem.
So your device should be "overwritten" at that stage of the process?

(I for myself never do any overwriting of harddisks, I've just
asked out of sheer curiosity).

More information about the dm-crypt mailing list