Zeroing data blocks
From: Dave Boutcher
Date: Sun Jul 09 2006 - 14:58:30 EST
On Sat, 8 Jul 2006 18:19:13 -0700, "Avinash Ramanath" <avinashr@xxxxxxxxx> said:
>
> I am trying to zero data blocks whenever an unlink is invoked as part
> of a secure delete filesystem.
> I tried to zero the file by writing a buffer (of file size) with
> zeroes onto the file.
Hmm...you may want to look at
https://www.redhat.com/archives/ext3-users/2006-April/msg00004.html
for a slightly cleaner approach. I just used that patch on a
2.6.17 and it worked fine.
Dave B
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/