[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <abcd72470608050055w51f2bfbcrbd26b59fc32dc494@mail.gmail.com>
Date: Sat, 5 Aug 2006 00:55:47 -0700
From: "Avinash Ramanath" <avinashr@...il.com>
To: arjan@...radead.org
Cc: kernelnewbies@...linux.org, linux-kernel@...r.kernel.org
Subject: Re: Zeroing data blocks
Hi,
As per your suggestion, if I write a file with zero bits, it would
remap to other pages, and I might not zero the real pages. So is there
any other way that I can access the pages that a file is using?
On 7/9/06, Arjan van de Ven <arjan@...radead.org> wrote:
> On Sat, 2006-07-08 at 18:56 -0700, Avinash Ramanath wrote:
> > I am trying to zero data blocks whenever an unlink is invoked as part
> > of a secure delete filesystem.
> [
> Hi,
>
> just a question... how secure do you want to be?
> (just asking because zeros might not be the best pattern when protecting
> against government type use :)
I would be using zeroes multiple times followed by random bit patterns.
> > I tried to zero the file by writing a buffer (of file size) with
> > zeroes onto the file.
>
> that's not so nice since there is no guarantee that the filesystem or
> the disk won't remap the data blocks underneath you...
>
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists