On Tue, May 20, 2014 at 01:20:18AM +0700, Robert Elz wrote:
>     Date:        Mon, 19 May 2014 18:07:31 +0200
>     From:        Joerg Sonnenberger <jo...@britannica.bec.de>
>     Message-ID:  <20140519160731.ga9...@britannica.bec.de>
> 
>   | Doesn't work, it could be a file that didn't exist on the last run.
>   | Consider running pkg_add.
> 
> The cmd was ...
> 
> man -p | while read d
> do
>         echo checking $d
>         find $d -cnewer /var/db/man.db | wc -l
> done
> 
> Note the -cnewer ... pkg_add cannot make that less than when the package
> was inatalled, if that happened after the last build of man.db, the find
> will locate it.

But this is going to stat(2) every file, so it doesn't really change
anything fundamentally. As I said, the check for existing entries is way
too slow right now, so that should be fixed. Everything else is just
distraction until that happened.

Joerg

Reply via email to