From: Ric Wheeler Subject: Re: Secure file deletion option question Date: Wed, 13 Apr 2011 14:31:08 -0400 Message-ID: <4DA5EBEC.10807@gmail.com> References: <4DA5E20E.4070904@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Linux FS Devel , Linux Kernel To: Marco Stornelli Return-path: In-Reply-To: <4DA5E20E.4070904@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 04/13/2011 01:49 PM, Marco Stornelli wrote: > Hi all, > > I don't see any fs implements that feature. The flag FS_SECRM_FL seems never > used with the exception of some define in some fs. Is there a motivation for > this? It seems a good option to me. > > Marco I think that most secure deletion code is done from user space, which can deal with odd storage types and so on. Just deleting and overwriting the blocks with zero data is not sufficient for some needs. Having user space tools deal with the myriad of ways that it could be done keeps the policy out of the kernel... Ric