Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2001 01:08:44 +0200
From:      Matthew West <mwest@uct.ac.za>
To:        G D McKee <freebsd@gdmckee.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Locate Database
Message-ID:  <20010311010844.A23650@apotheosis.org.za>
In-Reply-To: <000801c0a9b3$683f6880$0500a8c0@gdmckee.local>; from "G D McKee" on Sat, Mar 10, 2001 at 10:42:37PM
References:  <000801c0a9b3$683f6880$0500a8c0@gdmckee.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 10, 2001 at 10:42:37PM -0000, G D McKee wrote:
> Is there a way to stop this program logging the whole of my squid
> cache?  I am sure it would save on HDD ware and tare

Take a look at /etc/locate.rc - you probably want to uncomment
PRUNEPATHS and put your squid cache directory in there.

Alternatively, you can disable the weekly database rebuild by putting

weekly_locate_enable="NO"

into your /etc/periodic.conf file.  Take a look at
/etc/defaults/periodic.conf for a full list of options.

-- 
mwest@uct.ac.za

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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