Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2004 17:04:27 +0400
From:      Andrey Smirnov <smir@delit.net>
To:        current@freebsd.org
Subject:   Re: A way to recover deleted files (just contents) from USF2
Message-ID:  <40851FDB.1020908@delit.net>
In-Reply-To: <20040420125025.GA30066@energistic.com>
References:  <4084F85B.5070909@delit.net> <20040420102632.GA36668@e-Gitt.NET> <20040420121423.GA1154@frontfree.net> <20040420125025.GA30066@energistic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Steve Ames wrote:
> That's kinda silly. Unless files are backed up at every edit then most of
> us only have periodic filesystem backups. Lets say I just download a 150M
> file and then accidentally delete it. Rather than wasting time and bandwidth
> downloading again it'd be simpler to just 'unrm' it. Odds are that diskspace
> and even inode haven't been recycled yet.
> 
> Mind you such an option takes some of the breathtaking fun of working 
> without a net away from your shell session but hey... sometimes you
> actually do need the airbag.
> 
> We all know we need backups. We've all had that one time when we goofed
> and didn't have the backup. This guy was just wondering if there was a
> tool available (for ufs2) that would save him some time. A lesson in
> good backup practices might be useful for next time but doesn't really
> help him now.
> 
> (BTW: I have no good answer for recovering the file :)

I've done some resarch now, just to make sure:
after last reference to inode is lost, i.e. file is deleted,
almost all information in that inode about the file is lost?
(size, blocks, etc.)?
I've got it from source code & some testing, but it would be great if 
there was a way to recover that info...

Thanks,
Andrey.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40851FDB.1020908>