Robert Nichols wrote:
Mike McCarty wrote:
One issue is that if I overwrite the file, the location
which contains the original data is *not* the place the overwrite
is done to.
The 'shred' program overwrites the file in a manner that does not
reallocate the space. You can also do that with 'dd' if you use
[snip]
Hmm. The man page for shred contradicts what you say.
QUOTE MODE ON
CAUTION: Note that shred relies on a very important assumption: that
the filesystem overwrites data in place. This is the traditional way
to do things, but many modern filesystem designs do not satisfy this
assumption. The following are examples of filesystems on which shred
is not effective:
* log-structured or journaled filesystems, such as those supplied with
AIX and Solaris (and JFS, ReiserFS, XFS, Ext3, etc.)
QUOTE MODE OFF
The context of this discussion is ext3.
Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!