Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 1999 02:17:55 -0700
From:      Chris Tubutis <chris@tci.com>
To:        Dan Busarow <dan@dpcsys.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: When stuff is in the lost+found directory
Message-ID:  <36A1AAC3.7EC95E2C@tci.com>
References:  <Pine.BSF.3.96.990117001435.23201K-100000@java.dpcsys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> If you're unlucky, the files themselves will have numeric names.  Fixing
> this really depends on how badly you need to do it, in your case, reinstall.

LOL!  Yeah, I'm unlucky.  I hadn't noticed this when I initially wrote that
question, but a few of those 100 entries are directories; these directories
(as you said) have files in 'em with real names.  Names like "bookmarks.html"
and "Mac.pm".  Big woop there, huh?  There are two files in the top level
lost+found directory that are symlinks to English names, e.g.

#206393 -> libdecrypt.so.2 

and

#206397 -> libcipher.so.2


but that's it - all other files have #xxxxxx names.  What does that fixit
option in /stand/sysinstall do?  I haven't been able to get it to run yet but
am wondering what it'd do if I pursued it.  I'm just playing at this point,
anyway, basically just learning on a system where it really doesn't matter
what I break.

 
> If you want to pursue the latter situation, nm, strings and file run
> against the files plus a working system to check against can get you
> going.  I once had to do this via voice phone and it was not fun :)
> (BTW, they did have backups but the drive had died and no one noticed
> the error messages)


Gawd, sounds like a PITA.  Ex:

# nm "#206451"
/usr/libexec/elf/nm: a.out: No such file or directory

# file "#206451"
"206451: gzip compressed data, deflated, last modified: Wed Dec 31 17:00:00
1969, os: Unix

strings shows absolutely nothing useful without a working system to compare
the output to.  Ah, well.... I made copies of anything I think I want to
keep and at this point am just playing around.  It's a good way to learn....

Thanks for your time, Dan.

Chris

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36A1AAC3.7EC95E2C>