LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to configure updatedb.conf file for NFS sub-directory (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-configure-updatedb-conf-file-for-nfs-sub-directory-310087/)

ursidious 04-05-2005 04:23 PM

how to configure updatedb.conf file for NFS sub-directory
 
Is it possible to add one specific NFS sub-directory to be searchable using the
updatedb.conf file?


This is what my /etc/updatedb.conf looks like now:
#########################################################
cat /etc/updatedb.conf
PRUNEFS="NFS nfs devpts afs sfs proc smbfs autofs auto iso9660"
PRUNEPATHS="/tmp /usr/tmp /var/tmp /afs /net /sfs"
export PRUNEFS
export PRUNEPATHS
#########################################################

I think what I am looking for is the reverse of the PruneFS
I want to only run it on one specific NFS sub-directory

I suppose that I could list them all specificaly to be pruned, but this would not be
very helpful as the other directory structures keep changing and this one is static

ursidious 04-05-2005 05:00 PM

clarification
 
I have maybe 50 mounts
holding a few hundred GB of data
but I only want to run the Slocate database update for the local drives and the NFS mounted user home drives


All times are GMT -5. The time now is 03:37 PM.