|
|
publishing metadata to the network share
From the man page:
-p Publishes the local copies of the metadata stores for the volumes indicated to their real drives.I just tried sudo mdutil -p /Volumes/networkshare/ on a linux hosted smb share and it did indeed put the spotlight index in the root of the shared folder, returned an error about the indexing status, then started indexing the disk. I'm waiting for spotlight to finish indexing everything right now to see if it works.My guess is that if spotlight finds an index on a networked drive it'll use it and update it accordingly whenever accessing data on that disk. If so, my job just got a LOT less stressful.
Index status flag not persistent
Well, it appears to me as though you'd have to enable indexing each time you mount a network share. Connecting to an SMB share which has an index on it already then checking the indexing status with
sudo mdutil -s /Volumes/sharename/ says that indexing is disabled. If I enable it, unmount the share and remount it the flag will be reset, and I need to turn indexing on again. Using the spotlight search gui doesn't search the network drive's index, but using mdfind -onlyin /Volumes/networkshare/ does. I'd sure like to see a howto on this.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.12 seconds |
|