Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2001 21:49:39 -0600
From:      Rob Zietlow <zietlow@berbee.com>
To:        chip <chip@wiegand.org>, questions@FreeBSD.ORG
Subject:   Re: Q about locate
Message-ID:  <200111280349.fAS3nrL07656@berbee.com>
In-Reply-To: <200111271942821.SM03544@there>
References:  <200111271942821.SM03544@there>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 27 November 2001 09:42 pm, chip wrote:
> When I tried:
> locate termcap
> I received this response:
> locate: database too small: /var/db/locate.database
> Is there something I need to do to fix this problem? The man page doesn't
> cover this.


You need to go into /usr/libexec and run ./locate.updatedb

How come this isn't turned on by default so you can automatically search and 
you have to wait for one of the periodics to run it (once a week I believe) 
Why isn't this run around boot time.  If someone installs a machine say on 
Saturday, and doesn't run this script they will have to wait for a week 
before it gets updated.   And I know this was addressed a while ago on the 
list and someone wrote a patch for it.  Why can you run it as any user, but 
when it's done it tells you it's unavaliable to write to the database?  It 
should stop you immediately.  Is this planned on getting fixed in 5.0?

Rob

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111280349.fAS3nrL07656>