10.5: Leopard, Spotlight, and sparse disk images

Dec 04, '07 07:30:06AM

Contributed by: kodiak44

After moving some .sparseimages I created in Tiger to Leopard, upon mounting them, I noticed that Spotlight was not finding items that I knew existed on them. After turning off and re-enabling indexing for the volumes via Terminal several times with no luck, (and yes, I did wait long enough for Spotlight to finish the indexing process), I realized that if I created a new folder on the .sparseimage, it would show up in a search. However, none of the pre-existing files/folders would be found.

Then I tried renaming one of the pre-existing folders, and the new name showed up in a search. Then I renamed it back to the original name, and all was well. I also noticed that renaming only seems necessary for items on the top level of the disk, since any nested items I searched for started showing up in Spotlight after renaming the top folder.

[robg adds: I can't confirm this one, but if true, it seems like a bug. If anyone can test, please comment.]

Comments (3)


Mac OS X Hints
http://hints.macworld.com/article.php?story=2007111712022776