Installworld and /usr/include/*.h modification times

Kimmo Paasiala kpaasial at gmail.com
Mon Jun 4 17:57:33 UTC 2012


On Mon, Jun 4, 2012 at 11:12 AM, Doug Barton <dougb at freebsd.org> wrote:
> On 06/04/2012 00:10, Christer Solskogen wrote:
>> On Fri, Jun 1, 2012 at 3:42 PM, Kimmo Paasiala <kpaasial at gmail.com> wrote:
>>> Hello list,
>>>
>>> Why are /usr/include files installed with "install -C" during "make
>>> installworld"  when almost everything else is installed without the -C
>>> flag? This makes it harder to track which files were actually
>>> installed during the last "make installworld". One can easily find
>>> obsolete files  (that are not covered with make delete-old(-libs))
>>> with "find -x / -type f -mtime +suitable_time" but this doesn't work
>>> for /usr/include files because the modification times are not bumped
>>> on "make installworld".
>>>
>>
>> If you want, you can do this /after/ a buildworld
>>
>> # mv /usr/include /usr/include.old
>> # cd /usr/src
>
> You don't need to do those last 2 steps below if you mv /usr/include
> right before you do 'make installworld', FYI.
>
>> # make hierarchy
>> # make installincludes
>
>
> --
>
>    This .signature sanitized for your protection

Thanks! I should have thought of that myself... There are few bits
under /usr/share that behave the same way but now I know how to deal
with those as well.

-Kimmo


More information about the freebsd-stable mailing list