Bug 1929 - RFE: more intelligent makewhatis.cron
Summary: RFE: more intelligent makewhatis.cron
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: man
Version: 5.2
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-04-01 08:18 UTC by Chris Siebenmann
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-04-09 23:29:16 UTC

Attachments (Terms of Use)

Description Chris Siebenmann 1999-04-01 08:18:37 UTC
Right now, the whatis indexes are only rebuild weekly,
presumably because it's a heavy-duty procedure; this can
be a long wait in some circumstances.

 It would be nice if makewhatis.cron (or makewhatis
itself) was more intelligent, and only rebuilt the
whatis indexes if they were out of date. Then it would
be sensible to run makewhatis.cron more often, such as
every night.

Comment 1 David Lawrence 1999-04-01 21:46:59 UTC
Thank you for your suggestion. This has been passed on to a developer.

Comment 2 Michael K. Johnson 1999-04-09 22:22:59 UTC
Seems like a weekly script to rebuild the database and a daily
script to update the database would be about right...

Comment 3 Michael K. Johnson 1999-04-09 23:29:59 UTC
Fixed in man-1.5g-2.  makewhatis already had a -u option for
doing fast updates to the database.  There's now a weekly
script that recreates the database and a daily script that
updates it very quickly.  makewhatis itself already had all
the needed intelligence -- we just needed to harness it.
We wouldn't want to avoid rebuilding the database once a week
because the updates aren't sorted, just appended, and over
time an actively-maintained system would end up with a rather
messed-up database providing essentially random apropos output...

Thanks for the suggestion!

Note You need to log in before you can comment on or make changes to this bug.