Date: Wed, 22 Jul 2009 20:41:01 -0400 From: "illoai@gmail.com" <illoai@gmail.com> To: jimmiejaz@gmail.com Cc: freebsd-questions@freebsd.org Subject: Re: rm -rf and fat fingers Message-ID: <d7195cff0907221741i3f10e8ddn1c65d1997befff81@mail.gmail.com> In-Reply-To: <4A67AC39.2060805@gmail.com> References: <4A67AC39.2060805@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2009/7/22 Jimmie James <jimmiejaz@gmail.com>: > So here I was, half asleep, removing some old directories as root, and > here's what I did...sitting in /home/jimmie after su > > jimmie@jimmiejaz <101> [0] /home/jimmie#rm -rf cd /usr/local/lib =A0 (not= e the > space, the PWD is home/jimmie/) > > Now, a lot of libs went missing from /usr/local/lib. With libchk, last > locatedb I've been able to reinstall most of the libs. > My ~/ *seems* unaffected, but I'm worried about that, I don't notice > anything missing, but I could be wrong. > > What I'm thinking is the rm -rf found no 'cd' and moved to wipe out > /usr/local/lib =A0Would this be a correct assumption? > Sounds like you're on the right medicine. If you don't have a ton (that's 2000 in real world measures, or 1000 in beheader speak) of packages, you can always reinstall all of your packages to make sure you've caught every little thing (including things that future packages/ports may wish to link to). Well, you still can with a lot, but that might take a while. And, yes, rm -rf is a naughty naughty boy. Excepting the sense in which he always does exactly as he is told. --=20 --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d7195cff0907221741i3f10e8ddn1c65d1997befff81>