From owner-freebsd-questions@FreeBSD.ORG Thu Jul 10 14:34:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DA9B1065674 for ; Thu, 10 Jul 2008 14:34:41 +0000 (UTC) (envelope-from raggen@passagen.se) Received: from av11-1-sn2.hy.skanova.net (av11-1-sn2.hy.skanova.net [81.228.8.183]) by mx1.freebsd.org (Postfix) with ESMTP id C8EC08FC17 for ; Thu, 10 Jul 2008 14:34:40 +0000 (UTC) (envelope-from raggen@passagen.se) Received: by av11-1-sn2.hy.skanova.net (Postfix, from userid 502) id 91EBD3822F; Thu, 10 Jul 2008 16:34:38 +0200 (CEST) Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av11-1-sn2.hy.skanova.net (Postfix) with ESMTP id 5FC54381E2 for ; Thu, 10 Jul 2008 16:34:38 +0200 (CEST) Received: from [192.168.1.31] (90-230-141-139-no41.tbcn.telia.com [90.230.141.139]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id 4206537E44 for ; Thu, 10 Jul 2008 16:34:37 +0200 (CEST) Message-ID: <48761DF8.40300@passagen.se> Date: Thu, 10 Jul 2008 16:34:32 +0200 From: Roger Olofsson User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: FreeBSD References: <20080710023659.GA51675@remdogbsd> In-Reply-To: <20080710023659.GA51675@remdogbsd> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Locate command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2008 14:34:41 -0000 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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