From owner-freebsd-questions@FreeBSD.ORG Tue May 8 07:15:39 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 9315016A400 for ; Tue, 8 May 2007 07:15:39 +0000 (UTC) (envelope-from ray@stilltech.net) Received: from pd2mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 7393913C448 for ; Tue, 8 May 2007 07:15:39 +0000 (UTC) (envelope-from ray@stilltech.net) Received: from pd3mr4so.prod.shaw.ca (pd3mr4so-qfe3.prod.shaw.ca [10.0.141.180]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JHP00EDULE3DAKT@l-daemon> for freebsd-questions@freebsd.org; Tue, 08 May 2007 00:15:39 -0600 (MDT) Received: from pn2ml6so.prod.shaw.ca ([10.0.121.150]) by pd3mr4so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JHP00LVKLE2I2U0@pd3mr4so.prod.shaw.ca> for freebsd-questions@freebsd.org; Tue, 08 May 2007 00:15:38 -0600 (MDT) Received: from [192.168.0.102] ([70.65.134.12]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JHP00JO4LE1SO31@l-daemon> for freebsd-questions@freebsd.org; Tue, 08 May 2007 00:15:38 -0600 (MDT) Date: Tue, 08 May 2007 00:15:33 -0600 From: Ray In-reply-to: To: freebsd-questions@freebsd.org Message-id: <200705080015.33981.ray@stilltech.net> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Content-disposition: inline References: User-Agent: KMail/1.9.5 Subject: Re: disaster recovery - did I do the right thing? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ray@stilltech.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2007 07:15:39 -0000 On Monday 07 May 2007 11:16 pm, Ian Smith wrote: > Ray, I've been watching this thread, and you've had some good advice > about backups etc, but if you really did 'rm -f *' in /usr/local (NOT > 'rm -rf *') then it's very likely that you deleted no files at all. sorry, should have said rm -rf * > > The only file 'rm -f *' in /usr/local would remove here is a comment I > made for myself with 'touch moved_portsnap_from_var_db'; 'rm *' (with or > without -f) does not remove directories (unless you also use -r). > > I can't say what was in _your_ /usr/local, but I've just checked on 4.8, > 4.10, 5.5-STABLE and 6.1-RELEASE systems, and none of them install plain > files in /usr/local at all, just directories. So you may be lucky .. This was a postmortem question, by the time I'd posted, I'd already reinstalled from scratch. The machine wasn't in production yet and I had made good notes on paper, so It wasn't the end of the world. Ray > > Cheers, Ian > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"