From owner-freebsd-questions Tue Nov 27 20:24:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from pioneernet.net (mail.pioneernet.net [207.115.64.224]) by hub.freebsd.org (Postfix) with ESMTP id E35B837B417 for ; Tue, 27 Nov 2001 20:24:24 -0800 (PST) Received: from there [66.114.152.128] by pioneernet.net (SMTPD32-6.06) id A710115E0106; Tue, 27 Nov 2001 20:24:48 -0800 Content-Type: text/plain; charset="iso-8859-1" From: chip To: Annelise Anderson Subject: Re: Q about locate Date: Tue, 27 Nov 2001 20:24:09 -0800 X-Mailer: KMail [version 1.3] Cc: questions@FreeBSD.ORG References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200111272024118.SM03544@there> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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