From owner-freebsd-questions@FreeBSD.ORG Mon Apr 5 12:49:34 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7DE216A4CE for ; Mon, 5 Apr 2004 12:49:34 -0700 (PDT) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDB6C43D1D for ; Mon, 5 Apr 2004 12:49:33 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: from thought.org (tao [10.0.0.247]) by sage.thought.org (8.12.9/8.11.4) with ESMTP id i35JnHvp066738 for ; Mon, 5 Apr 2004 12:49:21 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by thought.org (8.12.9p2/8.11.3) with ESMTP id i35JnHvj003173; Mon, 5 Apr 2004 12:49:18 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.12.9p2/8.12.11/Submit) id i35JnGT8003172; Mon, 5 Apr 2004 12:49:16 -0700 (PDT) (envelope-from kline) Date: Mon, 5 Apr 2004 12:49:15 -0700 From: Gary Kline To: Ion-Mihai Tetcu Message-ID: <20040405194915.GE73304@tao.thought.org> References: <20040405002331.GA568@tao.thought.org> <20040405210248.57ead156@it.buh.cameradicommercio.ro> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040405210248.57ead156@it.buh.cameradicommercio.ro> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 17 years of service to the Unix community User-Agent: Mutt/1.5.6i cc: Gary Kline cc: FreeBSD Mailing List Subject: Re: fsck quandry. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 19:49:34 -0000 On Mon, Apr 05, 2004 at 09:02:48PM +0300, Ion-Mihai Tetcu wrote: > On Sun, 4 Apr 2004 17:23:31 -0700 > Gary Kline wrote: > > > > > Well, it's happpened; the first time in nine years my FBSD > > acually crashed and auto-rebooted. (Prob'ly my fault, > > since I didn't do the reboot; make installworld... ) > > Anway, In doing 'fsck -y' by hand, I watched as dozens of > > ports' inodes were removed. Short of doing a 'portupgrade -af' > > is there a way of telling which ports need to be rebuilt > > and re-installed? > > pkg_info -g Show files that don't match the recorded checksum. > > But, of course this wouldn't be exhaustive. > Maybe not exhaustive, but close enough. Thanks for your help. I'm doing: pkg_info -ga >& /tmp/missingORbad which will give me an egrep'able list to rebuild what went bad and was deleted. I'll share my step-by-step recovery procedure when I have it figured out. gary -- Gary Kline kline@thought.org www.thought.org Public service Unix