Subject: Re: Using obsolete.* files _outside of_ sysinst?
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 01/08/2002 14:20:01
Well, one example is trap.h.

It is listed in src/distrib/sets/lists/base/obsolete.i386:

	pc1:lists {185} pwd
	/usr/src/distrib/sets/lists
	pc1:lists {186} grep 'trap.h' base/obsolete.{mi,i386}
	base/obsolete.i386:/usr/include/machine/trap.h
	base/obsolete.i386:/usr/include/i386/trap.h
	pc1:lists {187}

yet it appears to still be installed (in directory /usr/include/machine,
which is a symlink to /usr/include/i386) from src/sys/arch/i386/include.
The file appears not to have been modified since 1994...

BTW, I rm'd the installed copy, then did a "cd /usr/src/sys/arch/i386;
make includes" and verified that it _does_ get reinstalled.

There are lots of .h files listed in the obsolete.* stuff.  :)

On Tue, 8 Jan 2002, Jaromir Dolecek wrote:

> Paul Goyette wrote:
> > 1. It might accidentally rm -rf /   :)
>
> Hopefully noone would put / to obsolete list :)
>
> > 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!  :)
>
> There shouldn't be any files which are replaced with new files.
> The obsolete* lists should only include files which no longer exist.
> Can you provide an example of such incorrect entries?
>
> Jaromir
> --
> Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.org/Ports/i386/ps2.html
> -=  Those who would give up liberty for a little temporary safety deserve  =-
> -=  neither liberty nor safety, and will lose both.  -- Benjamin Franklin  =-
>

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