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 07-08-2005, 08:50 PM
Jay Moonskip Jay Moonskip is offline
Registered User
 
Join Date: Jul 2005
Posts: 1
Question Dave's disable_spotlight script vs. privacy window

I'm a new user of SuperDuper! and so far it's great. But I'm having a problem with Spotlight, and maybe someone can help me out of my confusion.

I have a Seagate external hard drive connected via USB to my PowerBook G4. I use this drive and SD to maintain a bootable clone of the PowerBook's hard drive. This part works fine. Each time I update the clone (using "Smart Update"), I close the session by running the disable_spotlight script provided by Dave. But then when I do a search with Spotlight, the duplicate files on the external drive are listed right along with the originals on the PowerBook drive. I also hear drive activity on the Seagate when I don't expect it, as though Spotlight is indexing it.

I tried adding the external drive to the Spotlight privacy window, both with the "+" button and by dragging, but no go. The privacy window is working otherwise: I can add desktop folders perfectly well. When I try to add the external drive, however, its name and icon just fail to show up in the window. No error message accompanies this behavior.

Then I realized that I don't really understand the need for Dave's disable_spotlight script. If all you had to do was put the backup drive in the privacy window, I guess we would have been instructed to do so....

So three questions: (1) Why can't I add my external drive to the Spotlight privacy window? (2) Why is Dave's script necessary, and what does it really do? (3) What is the relationship between Spotlight indexing and Spotlight searching?

Any help would be greatly appreciated. Thanks!
Reply With Quote
  #2  
Old 07-08-2005, 08:54 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
The thing is, when you copy the data, it also ends up copying the spotlight index. And, at least *part* of the "privacy" stuff seems to be stored on the drive itself, but in an undocumented way.

The disable_spotlight script uses the documented mdutil command-line utility to erase the index on the destination volume and disable indexing for that drive. But, disabled indexing doesn't necessarily mean that searching is disabled. It just turns off the "importer", which should turn off indexing. Spotlight still seems to search the drive, just more slowly...
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 07-11-2005, 10:21 AM
neilio neilio is offline
Registered User
 
Join Date: Sep 2004
Posts: 6
I believe the only way to add a volume to Spotlight's privacy pane is (stupidly enough) only after an volume has been completely indexed first.

If you don't wait for Spotlight to do its thing, disconnecting and reconnecting an external volume will send Spotlight off indexing again. It's super annoying and I've got a radar bug open with Apple to improve this.

So the best way to avoid this problem is to:

1. Wait for Spotlight to completely index a volume.
2. Add it to the Privacy tab.
3. Run Dave's spotlight script.

Dave, will the .Spotlight-VT100 folder be added to the items not copied over? I think if you leave this folder out of the cloning process when copying to a volume that is already marked private Spotlight will not start indexing the destination volume later on.
Reply With Quote
  #4  
Old 07-11-2005, 10:47 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
Yeah, we've got a bunch of bugs reported against this behavior.

We don't copy the .Spotlight stuff in v2.x (and you can exclude it with a copy script), but unfortunately ignoring it means it's deleted from the destination. The disable_spotlight stuff recreates the folder as expected, though, and *seems* to turn the indexing off... but, again, there are definitely issues here that Apple needs to work through...
__________________
--Dave Nanian
Reply With Quote
  #5  
Old 07-28-2005, 11:53 PM
themace themace is offline
Registered User
 
Join Date: Jul 2005
Posts: 1
Where do I get the disable_spotlight script?

Quote:
Originally Posted by Jay Moonskip
...

I have a Seagate external hard drive connected via USB to my PowerBook G4. I use this drive and SD to maintain a bootable clone of the PowerBook's hard drive. This part works fine. Each time I update the clone (using "Smart Update"), I close the session by running the disable_spotlight script provided by Dave. But then when I do a search with Spotlight, the duplicate files on the external drive are listed right along with the originals on the PowerBook drive. I also hear drive activity on the Seagate when I don't expect it, as though Spotlight is indexing it.

...
Reply With Quote
  #6  
Old 07-29-2005, 06:57 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
It's in the FAQ, "themace"...
__________________
--Dave Nanian
Reply With Quote
  #7  
Old 10-27-2005, 06:55 PM
Piggy Piggy is offline
Registered User
 
Join Date: Sep 2005
Posts: 9
You might want to take a look at Spotless from www.fixamacsoftware.com. It will help you manage Spotlight. I just used it to clear up a problem I was having with iDisk indexing that I could not resolve from the command line.

I find it annoying that Spotlight searches disks that are Spotlight disabled. Hopefully Apple has plans to add more control over Spotlight.
Reply With Quote
  #8  
Old 10-27-2005, 09:50 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
The handling is a bit weird. But, putting it in Privacy does seem to disable searching... but you can't put it in privacy if spotlight is disabled for the volume... like I said, weird stuff!
__________________
--Dave Nanian
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
Error: No space left on device tradervic General 11 06-29-2005 04:50 PM
Error when running SuperDuper via shell script kbradnam General 9 03-09-2005 05:12 PM
server window opening off-screen pinkymink General 2 06-03-2004 07:37 AM


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


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