From owner-freebsd-questions Tue Nov 28 14:26: 1 2000 Delivered-To: freebsd-questions@freebsd.org Received: from heorot.1nova.com (sub24-23.member.dsl-only.net [63.105.24.23]) by hub.freebsd.org (Postfix) with ESMTP id 4975E37B400 for ; Tue, 28 Nov 2000 14:26:00 -0800 (PST) Received: by heorot.1nova.com (Postfix, from userid 1000) id 03EC318B1; Mon, 27 Nov 2000 14:49:34 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by heorot.1nova.com (Postfix) with ESMTP id E681518B0; Mon, 27 Nov 2000 14:49:34 +0000 (GMT) Date: Mon, 27 Nov 2000 14:49:34 +0000 (GMT) From: Rick Hamell To: Chimon Yeung Cc: UNIX Subject: Re: locate error message In-Reply-To: <3A242E88.26E28928@fremont.sourcee.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > When I tried to use "locate" to locate the files, I got the following > error message: > "locate: database too small: /var/db/locate.database" > I checked the locate.database in that directory and it got nothing in > it. Is there anyway I can fix it? Yes... create the locate database /usr/libexec/locate.updatedb does what you want. Rick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message