Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-05-2016, 01:14 PM   #1
Registered: Aug 2006
Location: Arizona
Distribution: ubuntu dirivatives mostly Mate
Posts: 260

Rep: Reputation: 19
can I use mlocate with nfs? (two networked unix machines)

I recently connected two of my computers (The two that I use the most) by means of nfs, and am enjoying the ease of passing information from one to the other.

But, I attempted to use mlocate to find files that are only on the 'other' commputer and found that it doesn't work. I looked into as far as I know how, and found that while at least one source said that updatedb defaults to examining every directory (should include my chosen nsf directory, I think), but there is a line in /etc/updatedb.conf that modifies that.

PRUNEFS="NFS nfs nfs4 rpc_pipefs afs binfmt_misc proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs shfs sysfs cifs lustre tmpfs usbfs udf fuse.glusterfs fuse.sshfs curlftpfs ecryptfs fusesmb devtmpfs"

I have Red-lettered th three items in PRUNEFS that seem to me to be the limiting factors, that might keep updatedb from cataloging the nsf directory.

Working from the laptop I (as root) removed those three items, and saved the resulting file. Then:

established a new index (so as not to mix that information with the information from the laptop), and ran a search for files that I know are in that nsf (eg. on the desktop computer).

But the nsf directory was still not included in the resulting index from updatedb.

Mlocate is such a quick and useful tool. I would dearly love to have it working with the nsf files if such a thing is possible. What can you tell me?
Old 07-06-2016, 10:11 PM   #2
Registered: Aug 2002
Posts: 25,827

Rep: Reputation: 5964Reputation: 5964Reputation: 5964Reputation: 5964Reputation: 5964Reputation: 5964Reputation: 5964Reputation: 5964Reputation: 5964Reputation: 5964Reputation: 5964
How did you create the new database and how did you specify the new database when performing the search?
1 members found this post helpful.


nsf mlocate

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
[SOLVED] need help getting ubuntu laptop to work with networked win7 machines jarbunic Linux - Newbie 2 09-17-2014 01:43 PM
locate: can not open `/var/lib/mlocate/mlocate.db': No such file or directory BallsOfSteel Linux - Newbie 4 12-11-2010 08:30 AM
How to find networked machines? djeikyb Linux - Networking 4 03-21-2008 03:57 PM
Accessing Networked machines vishalsethia Linux - Newbie 14 05-25-2005 01:57 AM
remote file access (non-networked machines) mikescar Linux - Newbie 3 02-03-2004 06:01 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:52 AM.

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