LWN.net Logo

Recovering deleted files from ext3

Recovering deleted files from ext3

Posted Mar 20, 2008 3:13 UTC (Thu) by quotemstr (subscriber, #45331)
In reply to: Recovering deleted files from ext3 by elgordo123
Parent article: Recovering deleted files from ext3

Try

$ man shred :-)

Or better yet,

$ alias shred='shred -u -n1'

And use that alias like rm. It'd be nice if the ext* 's' attribute were implemented too.


(Log in to post comments)

Recovering deleted files from ext3

Posted Mar 20, 2008 4:51 UTC (Thu) by gdt (subscriber, #6284) [Link]

Why would shred work on a journaling filesystem like ext3? A point noted in shred's man page.

Recovering deleted files from ext3

Posted Mar 20, 2008 10:21 UTC (Thu) by Cato (subscriber, #7643) [Link]

Actually shred works fine on ext3 in default configurations, i.e. as long as you are only
doing 'writeback' of data, meaning that filesystem metadata is journalled but file contents
metadata is not.  See http://en.wikipedia.org/wiki/Ext3 and in particular
http://wiki.linuxquestions.org/wiki/Talk:Shred


Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.