LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-20-2012, 11:27 AM   #1
bearsssausage
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
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
 
Old 07-20-2012, 11:34 AM   #2
tg3793
Member
 
Registered: Jul 2009
Location: Philippines
Distribution: Linux Mint 13 (Mate Edition)
Posts: 50

Rep: Reputation: 12
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.
 
1 members found this post helpful.
Old 07-20-2012, 11:40 AM   #3
bearsssausage
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
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 View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
updatedb: not always making slocate find all files. stf92 Linux - Newbie 7 06-01-2011 05:53 PM
[SOLVED] slocate updatedb locked files? MensaWater Linux - Software 3 04-15-2010 01:57 PM
No slocate.db file. Can't updatedb hottdogg Slackware 10 06-05-2006 05:12 PM
updatedb and slocate runs at 5am, how can I change this? Archeantus Linux - Software 4 02-12-2005 05:06 PM
Quick slocate/updatedb question? King of Japan Linux - Newbie 4 08-29-2004 01:35 PM


All times are GMT -5. The time now is 05:00 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration