User: Password:
|
|
Subscribe / Log in / New account

Securely deleting files from ext4 filesystems

Securely deleting files from ext4 filesystems

Posted Oct 13, 2011 7:53 UTC (Thu) by lolando (subscriber, #7139)
Parent article: Securely deleting files from ext4 filesystems

Pardon me for a naïve question, but… this "secure delete" will only delete/wipe/overwrite the current version of a file, right? I won't even pretend I know whether a write to a currently existing file may end up using an entirely different set of blocks (so the later secure won't touch the initial set), but assuming the file shrinks in the meantime, an I right in guessing that the blocks between the previous EOF and the new EOF will be untouched?


(Log in to post comments)

Securely deleting files from ext4 filesystems

Posted Oct 13, 2011 12:14 UTC (Thu) by corbet (editor, #1) [Link]

Ext4 will normally overwrite blocks (btrfs, instead, is copy-on-write). The idea behind this patch set is that any blocks released from the file (as in the truncate case you mention) will be cleared/randomized by the filesystem code.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds