Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-20-2005, 05:26 PM
sjonke sjonke is offline
Registered User
 
Join Date: Mar 2005
Posts: 7
Don't want to disable indexing, just stop re-indexing

The hints I've seen here give the advice of disabling spotlight indexing for the backup drive, but doing this means you can not search the backup drive at all! Finder and Spotlight return no results. Is there a way to just have Spotlight not re-index the drive after a smart update and use the existing index?
Reply With Quote
  #2  
Old 06-20-2005, 05:40 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,764
Send a message via AIM to dnanian
No, I'm sorry -- not at present.
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 06-22-2005, 04:37 AM
sjk's Avatar
sjk sjk is offline
Registered User
 
Join Date: May 2004
Location: Eugene
Posts: 252
I can search volumes that Spotlight is disabled on, with different results from what they'd be when it's enabled since there's no content index. I've seen this error on a Spotlight-disabled volume:

Code:
% sudo mdutil -s /Volumes/Backup
/Volumes/Backup:
        Error, no index found for volume.
In my case, running Verify Disk with Disk Utility on that volume was enough to make it searchable again (with indexing off).

A potentially significant issue (IMO) with reindexing volumes is that certain metadata from original indexes will likely be lost. One example I'm aware of is the kMDItemWhereFroms attribute for files downloaded with Safari (and other apps?). Right now it's hard to know what the implications of this might be in different situations. Hopefully there will eventually be a "solution" for it. If nothing more, I'd like it to be clearer which metadata may be lost when reindexing so dependencies on it can be avoided.
Reply With Quote
  #4  
Old 06-22-2005, 10:10 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,764
Send a message via AIM to dnanian
I brought this particular issue up numerous times in various sessions throughout WWDC, in the context of backing things up AND copying. Because, the fact is, these non-importer related metadata items are not backed up, and don't follow the file when copied.

So, it's hardly just reindexing. It's pretty much everything. Including backing up.

Spotlight has a lot of good things in it, but it doesn't have a lot of good data management issues for cases like this. (Fortunately, virtually everything in the database comes in through the importer -- everything but kMDItemWhereFrom -- and that is duplicated in the Spotlight comment, which *is* backed up.)
__________________
--Dave Nanian
Reply With Quote
  #5  
Old 06-22-2005, 03:29 PM
sjk's Avatar
sjk sjk is offline
Registered User
 
Join Date: May 2004
Location: Eugene
Posts: 252
Quote:
Originally Posted by dnanian
I brought this particular issue up numerous times in various sessions throughout WWDC, in the context of backing things up AND copying.
Your attention and interest about it is appreciated.

Quote:
Because, the fact is, these non-importer related metadata items are not backed up, and don't follow the file when copied.
True.

Quote:
So, it's hardly just reindexing. It's pretty much everything. Including backing up.
Yep.

Quote:
Spotlight has a lot of good things in it, but it doesn't have a lot of good data management issues for cases like this.
Even with bugs and limitations I've made it useful.

Quote:
(Fortunately, virtually everything in the database comes in through the importer -- everything but kMDItemWhereFrom -- and that is duplicated in the Spotlight comment, which *is* backed up.)
Hmm, I've never seen kMDItemWhereFroms duplicated to kMDItemFinderComment. In fact, I've been tinkering with the idea of automatically setting kMDItemFinderComment using the output of "mdls -name kMDItemWhereFroms file | cut -s -d '"' -f2 | head -n 1" since I lost the equivalent functionality by ditching the Saft plugin for Safari when upgrading to Tiger. Or maybe not, since I have on a slightly more ambitious project in mind.

I'm relieved if indeed only kMDItemWhereFroms is missing after copying or reindexing, assuming nothing's modifying other metadata. Some third party Spotlight+Automator project tagging stuff is using kMDItemFinderComment, which seems the only hook right now for users to "arbitrarily" extend Spotlight.

Thanks for the followup to this slightly off-topic topic. Hopefully it gets easier finding more accurate and detailed information about Spotlight as some of the misinformation hype settles down.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I disable spotlight for my backup drive? dnanian Frequently Asked Questions 0 05-12-2005 12:14 PM


All times are GMT -4. The time now is 10:35 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.