Locate command

RW fbsd06 at mlists.homeunix.com
Thu Jul 10 12:51:37 UTC 2008


On Wed, 09 Jul 2008 21:48:02 -0500
Paul Procacci <pprocacci at 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.


More information about the freebsd-questions mailing list