[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Locate & whatis on new install.
On Sat, Jan 01, 2005 at 03:51:07PM -0500, Daniel Ouellet wrote:
> No a big deal really, but a suggestion for the fresh install of OpenBSD in
> regards to the 'locate' & 'whatis' database.
>
> It is rebuilt every week, but on fresh install it is not there, or not built
> by default for the first week, or days depending at where you and in time.
>
$ fgrep whatis.db /usr/src/distrib/sets/lists/*/*
/usr/src/distrib/sets/lists/base/mi:./usr/share/man/whatis.db
$ fgrep whatis.db XF4/distrib/sets/lists/*/*
XF4/distrib/sets/lists/xbase/mi:./usr/X11R6/man/whatis.db
Err, they're here.
-current pkg use @man annotations to invoke OpenBSD::MakeWhatis on
install/deinstall, thus ensuring the whatis.db database is more or less
always in synch.
As to mklocatedb, I'm wondering what's the value of a locatedb on a fresh
install... the only place where maybe it makes sense is mentioning this
in afterboot(8). You probably want to be aware it exists after finishing
setting up your machine.