lkml.org 
[lkml]   [1998]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Wanted: Secure-delete utility for Linux
-----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/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.036 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site