I tried the approach in http://superuser.com/questions/89527/how-do-i-tell-spotlight-not-to-index-a-particular-folder but it still indexes my SD card when I reinsert it into my card reader.
How do I stop this, either for all SD cards or for a particular one?
edit: It looks like I can do this either with that method or with
mdutil, but I also need to delete all the hidden dotfiles (.Spotlight-V100 .Trashes ._.Trashes and .fseventsd) from the SD card -- this is for my Garmin GPS and the GPS somehow doesn't like the dotfiles.
When I delete those dotfiles, Mac OS X forgets that I have disabled Spotlight on the card.