disaster recovery - did I do the right thing?

Martin Tournoij carpetsmoker at rwxrwxrwx.net
Sun May 6 00:56:51 UTC 2007


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


More information about the freebsd-questions mailing list