which is the better way...?

Chris Rees utisoft at googlemail.com
Wed Dec 2 15:53:57 UTC 2009


2009/12/2  <usleepless at gmail.com>:
> On Wed, Dec 2, 2009 at 8:15 AM, Gary Kline <kline at thought.org> wrote:
>
>>
>> it is better to pkg_delete OOo-301 or just cd to /usr/local and
>> /bin/rm -r it from there?  this time i'll make a not of the preferred
>> way of cleaning out the old stuff..
>>
>>
> Early this century I started removing packages by issuing "sudo rm -rf /".
> Works like a charm. Have been doing it ever since. Also, it keeps the
> package database ( /var/db/pkg ) and the optional port directories in sync.
> Very nifty.

[chris at amnesiac]~% sudo rm -rf /
rm: "/" may not be removed
[chris at amnesiac]~%

Gutted! I'll have to use pkg_*...

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?


More information about the freebsd-questions mailing list