From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Fri, 30 May 2014 19:57:19 +0200 (CEST) Received: by mail-wg0-f52.google.com with SMTP id l18so2341602wgh.23 for ; Fri, 30 May 2014 10:57:19 -0700 (PDT) Received: from [192.168.100.89] ([80.169.147.204]) by mx.google.com with ESMTPSA id dh1sm11814646wjc.25.2014.05.30.10.57.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 30 May 2014 10:57:17 -0700 (PDT) Message-ID: <5388C67D.1060004@codehawks.eu> Date: Fri, 30 May 2014 18:57:17 +0100 From: Thomas Bastiani MIME-Version: 1.0 References: <1401370403.94216.YahooMailNeo@web172002.mail.ir2.yahoo.com> <20140529201335.GA9014@tansi.org> <20140530134238.GA21698@tansi.org> <20140530150701.GA4281@fancy-poultry.org> <5388AA9C.3020909@codehawks.eu> <20140530171053.GA5729@fancy-poultry.org> <5388BED0.90203@codehawks.eu> <20140530174743.GA6376@fancy-poultry.org> In-Reply-To: <20140530174743.GA6376@fancy-poultry.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] Is erasing hard disk drive mandatory? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On 05/30/14 18:47, Heinz Diehl wrote: > 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? > Oh cool. I had no idea. So then it would make the whole dd operation useless if you pass --allow-discards to cryptsetup. -- Thomas