[lkml]   [2003]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Undelete files on ext3 ??
John Bradford wrote:
>>Is there any way to revert the stupid mistyping of "rm file *" on ext3??
> There is no simple way, no.
>>I hope there is a way, because I dont have a backup of some files i
>>mistakenly deleted
> The only thing I can suggest is this:
> * Do not write anything else to the partition, and immediately
> re-mount it read-only.
> E.G.:
> mount -oremount -oro /dev/hda3
> * Use dd to copy the entire contents of the partition to a file on
> another partition.
> E.G.:
> dd if=/dev/hda3 of=/partition_image
> * Search through that file for the fragments of your lost files.

This is where Lazarus from The Coroner's Toolkit might come in handy.
It's designed for ext2 though, not ext3, but it might work for you
nonetheless since ext3 is basically built on top of ext2.


Michael Milligan -- Free Agent --

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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