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 <arjan@xxxxxxxxxxxxx> 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...




--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux