disaster recovery - did I do the right thing?

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Mon May 7 12:47:34 UTC 2007


>
> 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?

yes.

do

rm -rf /var/db/ports

and then install all needed ports, as base system was untouched


More information about the freebsd-questions mailing list