[thelist] File recovery?

Jon Molesa rjmolesa at consoltec.net
Tue Jun 26 15:11:43 CDT 2007

I've not found a fix myself.  Sad :-(, but I was able to modify a
similar file without much trouble into what appears to be enough like
the replica.  I'd still like to know if it's even possible.

I know it's possible to recover deleted file, and I've had some success
with it in the past.  In fact there really hasn't been a time, until
now, that I was unable to recover a needed file.

I know about the drive blocks, inodes, etc.  And the process of
"marking" a file for deletion that tells the system it's ok to write new
data here.  But I what happens when you say:
	1) Copy an empty file onto a file with the same name?
	2) Redirect command output onto an existing file? (my case)
	3) Actual delete the contents of a file in a text editor?

Are these operations left up to the text editors implementations?  Does
the OS make these decisions?  This little event has got me thinking and
if anyone knows, please share.

> I used this command:
> and like a dummy used INPUT-FILE as OUTPUT-FILE
> btw, the OS is RHEL.  so you know.
> > I accidental overwrote a file with empty data using redirect.  It's an
> > ext3 fs managed by LVM and setup in raid5.  Is there any way to recover
> > my goof?
Jon Molesa
rjmolesa at consoltec.net
if you're bored or curious

More information about the thelist mailing list