Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2008 16:34:32 +0200
From:      Roger Olofsson <raggen@passagen.se>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Locate command
Message-ID:  <48761DF8.40300@passagen.se>
In-Reply-To: <20080710023659.GA51675@remdogbsd>
References:  <20080710023659.GA51675@remdogbsd>

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


Rem P Roberti skrev:
> 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?
> 
> Thanks,
> 
> Rem
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.138 / Virus Database: 270.4.7/1542 - Release Date: 2008-07-09 06:50
> 
> 
> 

Actually, the very first thing I always do after installing a FreeBSD is 
add this line to crontab:

00 02 * * * /usr/libexec/locate.updatedb

I guess I'm a locate-freak ;^D

/Roger




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