[olug] *sigh* Need a Linux / ext3 unerase tool...

Dan Linder dan at linder.org
Mon Apr 12 19:34:25 UTC 2010


On Fri, Apr 2, 2010 at 12:37, Dan Linder <dan at linder.org> wrote:

> Maybe I'll use "dd if=/dev/sda6 | strings | less" and search for some key
> comments in the code that I do remember...
>

Just a quick update on my "rm" failure...

1: EXT3 filesystem does automatically overwrite the first sector or two of a
file.  Apparently this is part of the EXT3 spec.

2: I ended up using the "dd if=/dev/sda6 | strings | less" command and
copy-and-paste the small shell scripts I was looking for.  The only drawback
to this is that "less" tries to buffer everything, and I couldn't determine
a way to tell it to only save the last 2MB of the buffer.  I ended up having
to do some more steps to narrow down the region of the disk...

Sadly in my case the scripts I was looking at were pretty small, so I didn't
get back my latest revisions due to the "overwrite first sector" feature.
Oh well, live and learn to make better backups...

Dan

-- 
***************** ************* *********** ******* ***** *** **
"Quis custodiet ipsos custodes?"
   (Who can watch the watchmen?)
   -- from the Satires of Juvenal
"I do not fear computers, I fear the lack of them."
   -- Isaac Asimov (Author)
** *** ***** ******* *********** ************* *****************



More information about the OLUG mailing list