From owner-freebsd-questions@FreeBSD.ORG Sun May 6 00:56:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 046CD16A402 for ; Sun, 6 May 2007 00:56:51 +0000 (UTC) (envelope-from carpetsmoker@rwxrwxrwx.net) Received: from mail.rwxrwxrwx.net (carpetsmoker.xs4all.nl [82.93.23.199]) by mx1.freebsd.org (Postfix) with ESMTP id BB08213C44B for ; Sun, 6 May 2007 00:56:50 +0000 (UTC) (envelope-from carpetsmoker@rwxrwxrwx.net) Received: by mail.rwxrwxrwx.net (Postfix, from userid 1001) id 5CD0F6D46E; Sun, 6 May 2007 02:55:31 +0200 (CEST) Date: Sun, 6 May 2007 02:55:30 +0200 From: Martin Tournoij To: freebsd-questions@freebsd.org Message-ID: <20070506005530.GA5251@glitch.rwxrwxrwx.net> Mail-Followup-To: freebsd-questions@freebsd.org, ray@stilltech.net References: <200705051705.43504.ray@stilltech.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705051705.43504.ray@stilltech.net> User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: ray@stilltech.net Subject: Re: disaster recovery - did I do the right thing? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 May 2007 00:56:51 -0000 On Sat 05 May 2007 17:05, Ray wrote: > Hello all, > I did something stupid the other day (sleep deprivation combined with > a "clever" hack were the main reasons), and I'm just curious if I did the > right thing afterwards. > > The mistake: > /usr/local/# rm -f * > note that root was running bash as a shell at the time, found > in /usr/local/bin or something. > > What I did was to start over, reinstall from scratch. > my question, was there an easier way? > thanks, > Ray You can use pkg_info -ga to check for missing files in your packages. -- Regards, Martin Tournoij