From owner-freebsd-questions@FreeBSD.ORG Fri Jul 11 03:33:21 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 A1DE31065680 for ; Fri, 11 Jul 2008 03:33:21 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from fmailhost04.isp.att.net (fmailhost04.isp.att.net [204.127.217.104]) by mx1.freebsd.org (Postfix) with ESMTP id 905B78FC3D for ; Fri, 11 Jul 2008 03:33:21 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from [10.5.21.122] (adsl-19-244-119.bna.bellsouth.net[68.19.244.119]) by isp.att.net (frfwmhc04) with ESMTP id <20080711033320H04009733ue>; Fri, 11 Jul 2008 03:33:20 +0000 X-Originating-IP: [68.19.244.119] Message-ID: <4876D47A.4040708@datapipe.com> Date: Thu, 10 Jul 2008 22:33:14 -0500 From: Paul Procacci User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: EdwardKing References: <007a01c8e305$e8b07840$3f83a8c0@neusofteaf5839> In-Reply-To: <007a01c8e305$e8b07840$3f83a8c0@neusofteaf5839> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Cc: FreeBSD Subject: Re: locate:database too small 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: Fri, 11 Jul 2008 03:33:21 -0000 EdwardKing wrote: > I use locate command,like follows: > $locate mail > locate:database too small: /var/db/locate.database > > I know it need to update from document: /usr/libexec/locate.updatedb ,but I don't know how to execute above command,I am a newer to Unix,how to do it? > > Thanks > > > ---------------------------------------------------------------------------------------------- > Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. > ----------------------------------------------------------------------------------------------- > > _______________________________________________ > 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" > Type exactly that within a shell (as root): /usr/libexec/locate.updatedb or alternatively /etc/periodic/weekly/310.locate