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

index | next in thread | previous in thread | raw e-mail

On Tuesday 27 November 2001 07:49 pm, Rob Zietlow wrote:
> 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

:-) I hope you're not asking me those questions cuz I sure don't have any 
answers. I just did a fresh install of 4.4-r on another machine recently. It 
is what it is. And there's nothing about this in the instructions I've seen 
all over the net or in the two books I have on FBSD.

--
Thanks for the help,
Chip

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



help

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