Re: Zeroing data blocks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux