From owner-freebsd-questions Sun Jan 17 00:22:21 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA18197 for freebsd-questions-outgoing; Sun, 17 Jan 1999 00:22:21 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA18192 for ; Sun, 17 Jan 1999 00:22:20 -0800 (PST) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.9.1a/8.9.1) with SMTP id AAA03178; Sun, 17 Jan 1999 00:22:53 -0800 (PST) Date: Sun, 17 Jan 1999 00:22:53 -0800 (PST) From: Dan Busarow To: Chris Tubutis cc: questions@FreeBSD.ORG Subject: Re: When stuff is in the lost+found directory In-Reply-To: <36A17D19.3CCB27AE@tci.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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