LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   updatedb.conf slocate configuration PRUNEFS & PRUNEPATHS (http://www.linuxquestions.org/questions/slackware-14/updatedb-conf-slocate-configuration-prunefs-and-prunepaths-4175417817/)

bearsssausage 07-20-2012 11:27 AM

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?

Thanks,

Blake

tg3793 07-20-2012 11:34 AM

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.

bearsssausage 07-20-2012 11:40 AM

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?

-Blake



Quote:

Originally Posted by tg3793 (Post 4733834)
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.



All times are GMT -5. The time now is 09:12 PM.