Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2008 13:36:19 +0100
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Locate command
Message-ID:  <20080710133619.7d82764c@gumby.homeunix.com.>
In-Reply-To: <48757862.8050802@datapipe.com>
References:  <20080710023659.GA51675@remdogbsd> <48757862.8050802@datapipe.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 09 Jul 2008 21:48:02 -0500
Paul Procacci <pprocacci@datapipe.com> wrote:

> Rem P Roberti wrote:
> > Whenever I do a "locate" command on a new installation I get this
> > message:
> >
> > locate: database too small: /var/db/locate.database
> >
> > Can someone give me a heads up on how to fix this?
> >

> Run this shell script:
> 
> /etc/periodic/weekly/310.locate
> 

You might also think about installing sysutils/anacron, so that the
period scripts get run even if the machine is not left on overnight.



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