securely overwrite files with Python
Mathias Waack
M.Waack at gmx.de
Sat Mar 6 15:02:40 EST 2004
Peter Hansen wrote:
> Mathias Waack wrote:
>> Bart Nessux wrote:
>>
>>>Is there a shred module in Python?
>>
>> First: It is not possible. Let me cite some sentences from
>> shred(1):
>>
>> 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.
>
> I'm fairly sure that at least some "journalling" or "logging" file
> systems, such as ReiserFS, or maybe ext3, on Linux, violate this
> assumption.
shred(1) knows that, the manpage lists the FS from above and a lot
others as examples.
Mathias
More information about the Python-list
mailing list