updatedb.conf slocate configuration PRUNEFS & PRUNEPATHS
Hi everyone. I have user experience on all OS platforms, but am trying to delve down deep to finally get a true understanding on how GNU/Linux works. So I'm starting by just poking around the file system. Anyways...
/etc/updatedb.conf is not well documented in the man page for slocate. Or, it's not well documented in the file itself.
I assume - which I don't think a user should be doing - that PRUNEPATHS tells slocate which directories to index. Is this correct?
But I have no clue what PRUNEFS represents or what the arguments represent. Maybe if I read slocate's source code I could figure it out. But is the source file included in Slackware? Where can I find it?
Not sure why you are saying it isn't well documented. I'm a newb too (at least to Linux) so I just googled it and came up with this on the first page of the search.
I used to run the "updatedb" command when I was using the "locate" command a lot more. But these days I figure if "locate" isn't keeping up with what I am doing I'll just run the "find" command and use some of the operators that I'm now learning to speed things up a bit.
Hope this helps.
Well, I definitely Googled before I posted this question, and couldn't find anything like the link you replied with - which was very helpful and answered my question. But why is a brief explanation of PRUNEFS and PRUNEPATHS not in the slocate man-page under Configuration File? In a better world, wouldn't it be? Or what about a comment in the config file itself?
|All times are GMT -5. The time now is 02:43 PM.|