Re: Wanted: Secure-delete utility for Linux

Bryn Paul Arnold Jones (bpaj@gytha.demon.co.uk)
Sat, 26 Dec 1998 11:01:32 +0000 (GMT)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 24 Dec 1998, Jose Carlos Benfati wrote:

> Try "man chattr". Here is part of what I found:
>
> When a file with the `s' attribute set is deleted, its
> blocks are zeroed and written back to the disk.
>
>

Use the source Luke ... linux/fs/ext2/truncate.c,35+10:
#if 0

/*
* Secure deletion currently doesn't work. It interacts very badly
* with buffers shared with memory mappings, and for that reason
* can't be done in the truncate() routines. It should instead be
* done separately in "release()" before calling the truncate routines
* that will release the actual file blocks.
*
* Linus
*/

Bryn
- --
PGP pubkeys from http://www.gytha.demon.co.uk/pubkey.asc.
Men often believe -- or pretend -- that the "Law" is something sacred, or at
least a science -- an unfounded assumption very convenient to governments.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Comment: Silly comment here ...
Charset: noconv

iQA/AwUBNoTCD994IUtvfSqaEQLkVgCglupgx9BLO4eQArxvvwouQV++GHQAn2JR
kmz8aZ0nTbmpHny5C6f3R5sX
=O8Gj
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/