Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jul 2015 15:09:14 +0100
From:      Mike Clarke <mike@milibyte.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: limiting find(1) in /etc/periodic scripts
Message-ID:  <4195152.5rD1XZrU2I@curlew.lan>
In-Reply-To: <55ACDA40.7040908@qeng-ho.org>
References:  <201507200910.t6K9A9J6007857@sdf.org> <201507201039.t6KAdwCU014203@sdf.org> <55ACDA40.7040908@qeng-ho.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4195152.5rD1XZrU2I>