Locate command
Roger Olofsson
raggen at passagen.se
Thu Jul 10 14:34:41 UTC 2008
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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
More information about the freebsd-questions
mailing list