remind me ... (file undelete on FreeBSD 5.4)

Arne Wörner arne_woerner at yahoo.com
Sat Nov 26 16:11:06 GMT 2005


--- user <user at dhp.com> wrote:
> On Sat, 26 Nov 2005, Arne Wörner wrote:
> 
> > Hmm... I think there was such a problem before on a
> > freebsd list...
> > 
> > Did u tell your box to do "rm -rf local" or to do
> > "rm -rf local/"?
> 
> Yes, that is exactly what I did - I autocompleted
> the symlink and it deleted the target and left the
> symlink intact.  Is this expected, or
> unexpected behavior ?
> 
Hmm... Interesting question... :-)) Maybe it would be nicer, if
"local/." would be the directory that "local" points to (and not
already "local/"...

In your case it was obviously not the expected behaviour from your
personal point of view (I would guess)...

But now u and everybody else, who stepped in that "trap" before,
will expect it in the future... :-))
 
> It's part of the sleuthkit.  I don't need a gui, so
> I think I will just use the sleuthkit.
> 
Ok... I never used it... Since my history teacher complained for
years about a stolen/misplaced LP (a big black plate with
irregular groovings that can be pinned on a noise-making-device),
that contained the copy of several H*tl*r speeches taken from wax
rolls, and since I deleted my floppies and/or hard discs
thoroughly and completely unintentionally multiple times, I do not
even try to restore on that level... :-))

I prefer backups on DVDs (some weeks ago I found, that cheap DVDs
cannot be used with my DVD burner as expected... the fricking
thing can just write the first 3GB good enough... *shoot!*)...

I hope you can restore a lot of ur data...

I just remembered, that there is a tool called "fsdb" (file system
debugger; it is already contained in the base system), which might
see deleted files and directory-files... Maybe increasing the link
count (from 0 to 1) of those directory entries brings back the
files/dirs? Maybe I am too naive...

-Arne


		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs


More information about the freebsd-fs mailing list