Re: /lib symlinks problem?

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Mon, 1 Sep 2003 12:32:20 +0300
On Mon, Sep 01, 2003 at 01:58:52AM -0700, Doug Barton wrote:
> On Mon, 1 Sep 2003, M. Warner Losh wrote:
> 
> > My tool is initially just a 'delete these files' tool, but now that I
> > think about it, it wouldn't be hard to say also 'create these
> > symlinks'.  The hard part here is generating the 'obsolete' lists.
> 
> I posted one approach to this today... touch a file right before you
> start installworld, then consider anything not newer than that file a
> candidate for disposal. There is currently something weird going on in
> /usr/lib though... a lot of the files don't have newer dates, I haven't
> tracked down why yet.
> 
This is because static libraries are installed with -C.  The reasoning
was like this:

On Sat, Mar 30, 2002 at 02:15:56PM +0100, Dag-Erling Smorgrav wrote:
> Ruslan Ermilov <ru_at_FreeBSD.org> writes:
> > On Fri, Mar 22, 2002 at 12:28:17PM -0800, Dag-Erling Smorgrav wrote:
> > >   Log:
> > >   Install static and profiled libraries with -C.
> > Um why, what's so special about them?
>
> They appear in dependency lists.  This was discussed on -arch.

This also will not work for anything that has not changed and is
installed with -C, that is includes, rtld-elf, and some parts of
/sys/boot.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru_at_sunbay.com		Sunbay Software Ltd,
ru_at_FreeBSD.org		FreeBSD committer

Received on Mon Sep 01 2003 - 00:32:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:20 UTC