Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 1999 00:22:53 -0800 (PST)
From:      Dan Busarow <dan@dpcsys.com>
To:        Chris Tubutis <chris@tci.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: When stuff is in the lost+found directory
Message-ID:  <Pine.BSF.3.96.990117001435.23201K-100000@java.dpcsys.com>
In-Reply-To: <36A17D19.3CCB27AE@tci.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 16 Jan 1999, Chris Tubutis wrote:
> FreeBSD/i386 (abc.def.xyz) (ttyv0)
> 
> Login: root
> /usr/libexec/ld-elf.so.1: Shared object "libcrypt.so.2" not found
> 
> FreeBSD/i386 (abc.def.com) (ttyv0)
> 
> Login:
> 
> My question is, if I boot from a floppy and mount the hard drive somewhere,
> is there a way to find out where all these entries in /lost+found (they're
> fairly contiguous (e.g. #206393 to #206482 and a scattering of others))
> really belong?

If you're lucky, the /lost+found entries like #206393 will be directories
and the files in those directories will still have names.  For important
directories like /lib you should be able to recognize the names and
move them back.

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.

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)

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82


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?Pine.BSF.3.96.990117001435.23201K-100000>