From owner-freebsd-questions Tue Nov 27 19:49:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from berbee.com (berbee.com [205.173.176.16]) by hub.freebsd.org (Postfix) with ESMTP id 1F39F37B405 for ; Tue, 27 Nov 2001 19:49:55 -0800 (PST) Received: from there (msn-office2.binc.net [64.73.12.253]) by berbee.com (8.11.2/8.11.2) with SMTP id fAS3nrL07656; Tue, 27 Nov 2001 21:49:53 -0600 Message-Id: <200111280349.fAS3nrL07656@berbee.com> Content-Type: text/plain; charset="iso-8859-1" From: Rob Zietlow To: chip , questions@FreeBSD.ORG Subject: Re: Q about locate Date: Tue, 27 Nov 2001 21:49:39 -0600 X-Mailer: KMail [version 1.3.1] References: <200111271942821.SM03544@there> In-Reply-To: <200111271942821.SM03544@there> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 09:42 pm, 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 doesn't > cover this. You need to go into /usr/libexec and run ./locate.updatedb How come this isn't turned on by default so you can automatically search and you have to wait for one of the periodics to run it (once a week I believe) Why isn't this run around boot time. If someone installs a machine say on Saturday, and doesn't run this script they will have to wait for a week before it gets updated. And I know this was addressed a while ago on the list and someone wrote a patch for it. Why can you run it as any user, but when it's done it tells you it's unavaliable to write to the database? It should stop you immediately. Is this planned on getting fixed in 5.0? Rob To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message