From owner-freebsd-questions@freebsd.org Mon Jul 20 14:09:26 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11B1C9A5547 for ; Mon, 20 Jul 2015 14:09:26 +0000 (UTC) (envelope-from mike@milibyte.co.uk) Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9AE1414CD for ; Mon, 20 Jul 2015 14:09:24 +0000 (UTC) (envelope-from mike@milibyte.co.uk) Received: from curlew.milibyte.co.uk ([80.229.31.82]) by avasout07 with smtp id ue9F1q0051mJoLY01e9G8r; Mon, 20 Jul 2015 15:09:16 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=IdN6Ijea c=1 sm=1 tr=0 a=cd0K7rcWwnZFf6xQxRobyA==:117 a=cd0K7rcWwnZFf6xQxRobyA==:17 a=D7rCoLxHAAAA:8 a=0Bzu9jTXAAAA:8 a=DGUKCM7wfUEA:10 a=kj9zAlcOel0A:10 a=zOBTXjUuO1YA:10 a=kvpvBNNMrm7wOS8R_zYA:9 a=CjuIK1q_8ugA:10 a=Y79-JfTjRSwA:10 Received: from curlew.lan ([192.168.1.13] helo=milibyte.co.uk) by curlew.milibyte.co.uk with esmtp (Exim 4.85) (envelope-from ) id 1ZHBko-0001nR-Ql for freebsd-questions@freebsd.org; Mon, 20 Jul 2015 15:09:15 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Mon, 20 Jul 2015 15:09:14 +0100 Message-ID: <4195152.5rD1XZrU2I@curlew.lan> User-Agent: KMail/4.14.3 (FreeBSD/10.1-RELEASE-p10; KDE/4.14.3; amd64; ; ) In-Reply-To: <55ACDA40.7040908@qeng-ho.org> References: <201507200910.t6K9A9J6007857@sdf.org> <201507201039.t6KAdwCU014203@sdf.org> <55ACDA40.7040908@qeng-ho.org> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: mike@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 Subject: Re: limiting find(1) in /etc/periodic scripts Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2015 14:09:26 -0000 On Monday 20 Jul 2015 12:23:44 Arthur Chance wrote: > To control locate, you can edit /etc/locate.rc to modify PRUNEPATHS > suitably. For the rest, I think you'll have to hack the periodic scripts > directly. PRUNEDIRS is probably more appropriate in this case. I've stopped locate.updatedb from scanning my ccache by appending .ccache to PRUNEDIRS. -- Mike Clarke