locate.updatedb SEARCHPATHS

Matt Smith fbsd at xtaz.co.uk
Tue Feb 24 15:31:21 UTC 2015

On Feb 24 16:11, Christoph P.U. Kukulies wrote:
>Am 24.02.2015 um 15:52 schrieb Matt Smith:
>>On Feb 24 15:35, Christoph P.U. Kukulies wrote:
>>>Where are searchpaths where /etc/periodic/weekly/310.locate 
>>>normally wired? I have some filesystems mounted which I want to 
>>>include into the search.
>>Take a look at /etc/locate.rc. Specifically the SEARCHPATHS 
>>variable.  It's normally just set to / though.
>Thanks. Got it. Blanks separated, all in one string, in double quotes.

Thinking about it based on what you said about mounted filesystems you 
might also need to change the FILESYSTEMS variable at the bottom of that 
file. I guess it might not be being searched because it's not one of 
those listed filesystems.


More information about the freebsd-questions mailing list