From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 13 16:15:40 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 76935DDE for ; Tue, 13 Nov 2012 16:15:40 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3E4F58FC15 for ; Tue, 13 Nov 2012 16:15:39 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id kp6so631436pab.13 for ; Tue, 13 Nov 2012 08:15:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:x-mailer:from:subject:date :to; bh=D0EcgEuKNekLO7gkrS/4Ds5C4/IwzJBdR48+K39aMBs=; b=SwHeepag0mzjWBUlQNTPkXY1AWXMOZZwKVkKDlFA2zz5l9ZNyK96yBwL4E3GiFPpEd hKrbn5wkMus914zUpCbigzFIzQUi6V7X0s3UTx0cXvgIBPEAXWCT2oqA8TWBYttS3x6b YNiXTAn3CLJAxYXcZy6hzJLCoby9mg0sBC3FTW9KtJTcUQ0n+nDNFPOKtGlzkOvPDo5S LM4MsksNSDr0aQbIqsK8JpeNew4YP2DyVvxrrWoqILMIw2SRFSlwD8WsRJjTJiLvT+ck lIT15ZQLm4in3Eg8sGP/wD0lpYf5Y1wcRWR8sU9URhpPrAWnYLmVwBZHwfpGsoZX5QVi geig== Received: by 10.66.72.136 with SMTP id d8mr65748941pav.4.1352823339617; Tue, 13 Nov 2012 08:15:39 -0800 (PST) Received: from [192.168.20.12] (c-24-19-191-56.hsd1.wa.comcast.net. [24.19.191.56]) by mx.google.com with ESMTPS id uq5sm6161024pbc.56.2012.11.13.08.15.36 (version=SSLv3 cipher=OTHER); Tue, 13 Nov 2012 08:15:37 -0800 (PST) References: Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: X-Mailer: iPhone Mail (10A523) From: Garrett Cooper Subject: Re: Give users a hint when their locate database is too small. Date: Tue, 13 Nov 2012 08:15:36 -0800 To: Eitan Adler Cc: FreeBSD Hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2012 16:15:40 -0000 On Nov 13, 2012, at 8:05 AM, Eitan Adler wrote: > On 13 November 2012 10:58, Eitan Adler wrote: >=20 > Okay... sorry for the spam. I remember there was a reason I used > /etc/periodic/weekly/310.locate instead of /usr/libexec/locate.updatedb. > The latter must not be run as root, and the former takes care of this work= . >=20 > Since the default is to enable weekly updates I am inclined to use the > 310.locate script instead. Ok. The only thing about hardcoding an=20 RC script name into a binary is that I felt it was more likely to change whe= reas locate.updatedb is more constant.. Thanks! -Garrett=