Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2001 20:24:09 -0800
From:      chip <chip@wiegand.org>
To:        Annelise Anderson <andrsn@andrsn.stanford.edu>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Q about locate
Message-ID:  <200111272024118.SM03544@there>
In-Reply-To: <Pine.BSF.4.10.10111272002510.30936-100000@andrsn.stanford.edu>
References:  <Pine.BSF.4.10.10111272002510.30936-100000@andrsn.stanford.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 27 November 2001 08:08 pm, Annelise Anderson wrote:
> On Tue, 27 Nov 2001, 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 doe=
sn't
> > cover this.
> > --
> > Chip
> The locate database is build once a week in the middle of the night
> from a cron instruction in /etc/crontab.  If your computer won't be
> on then or you want it built sooner (or rebuilt to reflect new stuff),
> run as root /usr/libexec/locate.updatedb, or in the /etc directory
> type
> periodic weekly
>
> That runs what cron would run--the weekly maintenance routines.
>
> Also, typing apropos locate would have listed the locate.updatedb
> manual page...reading the locate manual page would show you the
> following (just in case you don't want to have to ask):
>
> /usr/libexec/locate.updatedb     Script to update the locate database
>
> =09Annelise

Thanks, geez apropos returns a ton of stuff! Cool, I'll add that one to m=
y=20
notebook.
--
Thanks,
Chip

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




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