limiting find(1) in /etc/periodic scripts

Mike Clarke mike at milibyte.co.uk
Mon Jul 20 14:09:26 UTC 2015


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


More information about the freebsd-questions mailing list