Subject: Re: Using obsolete.* files _outside of_ sysinst?
To: Ben Harris <bjh21@netbsd.org>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 01/08/2002 12:56:43
On Tue, 8 Jan 2002, Ben Harris wrote:

> How about:
>
> grep -v '^#' /usr/src/distrib/sets/lists/*/obsolete.mi \
>              /usr/src/distrib/sets/lists/*/obsolete.${MACHINE} | xargs rm -rf
>
> NB: Untested -- may accidentally rm -rf /.

Two problems with that:

1. It might accidentally rm -rf /   :)
2. There are lots of things listed in the obsolete.* files which
   are actually replaced by new files.  Lots of include files...
   If I did this, then I would have to run through a new ``make
   install'' to get them back!  :)

----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Network Engineer | BCD7 5301 9513 58A6 0DBC |  paul@whooppee.com   |
|  & World Cruiser | 91EB ADB1 A280 3B79 9221 | pgoyette@juniper.net |
----------------------------------------------------------------------