Give users a hint when their locate database is too small.

Garrett Cooper yanegomi at gmail.com
Tue Nov 13 16:15:40 UTC 2012


On Nov 13, 2012, at 8:05 AM, Eitan Adler <lists at eitanadler.com> wrote:

> On 13 November 2012 10:58, Eitan Adler <lists at eitanadler.com> wrote:
> 
> 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.
> 
> 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 
RC script name into a binary is that I felt it was more likely to change whereas locate.updatedb is more constant..
Thanks!
-Garrett


More information about the freebsd-hackers mailing list