Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 May 2007 00:15:33 -0600
From:      Ray <ray@stilltech.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: disaster recovery - did I do the right thing?
Message-ID:  <200705080015.33981.ray@stilltech.net>
In-Reply-To: <Pine.BSF.3.96.1070508145207.14028A-100000@gaia.nimnet.asn.au>
References:  <Pine.BSF.3.96.1070508145207.14028A-100000@gaia.nimnet.asn.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 07 May 2007 11:16 pm, Ian Smith wrote:
<snip>
> 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.
<snip>

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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705080015.33981.ray>