Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #117290

Re: Spotlight on external drives

From Alan Baker <nunya@ness.biz>
Newsgroups comp.sys.mac.system
Subject Re: Spotlight on external drives
Date 2018-06-18 06:40 -0700
Organization Aioe.org NNTP Server
Message-ID <pg8cp9$l62$1@gioia.aioe.org> (permalink)
References <xaKVC.349129$DS3.28237@fx42.iad>

Show all headers | View raw


On 2018-06-18 1:36 AM, JF Mezei wrote:
> A while agio, I had found a way to tell Spotlight to NOT index external
> drives. Tired of cleaning up USB drives I was inserting. (and the System
> Preferences->Spotlight->Privacy doesn't know about disks you haven't
> inserted yet).
> 
> 
> The command is:
> 
>> sudo defaults write /Library/Preferences/com.apple.SpotlightServer.plist ExternalVolumesIgnore -bool True
> 
> 
> 
> I forgot about this, and over time, started to notice that Spotlight on
> non external disks wasn't finding my documents as I expected. And it
> kept getting worse, to a point where I did some test on a document name
> I knew existed and it woudln't find it (let alone its contents).
> 
> 
> Tonight I started to investigate:
> 
> mdutil -s -a would show my system drive (SSD) indexed.
> It woudl show currently networked drive as searcheable.
> But except for the Time Machine volume, the other drives I have were not
> indexed nor searcheabnle.
> 
>> bike:DMA5 $  mdutil -i on /Volumes/DMA5
>> /Volumes/DMA5:
>>          Indexing and searching disabled.
>>
>> bike:DMA5 $  mdutil -i off /Volumes/DMA5
>> /Volumes/DMA5:
>> 2018-06-18 04:10:55.324 mdutil[63366:12415782] mdutil disabling Spotlight: /Volumes/DMA5 -> kMDConfigSearchLevelFSSearchOnly
>>          Indexing and searching disabled.
> 
> 
> I deleted all the .Spotlight-V100 files , unloaded, reloaded the
> /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
> 
> Nothing fixed it.
> 
> So, I remembered that quite some time ago, I had done that thing for
> external drives.
> 
> I undid it (-bool False) and low and behold:
> 
> bike:DMA5 $  mdutil -i on /Volumes/DMA5
> /Volumes/DMA5:
>          Indexing enabled.
> 
> 
> 
> So, the morale of the story:  OS-X (High Sierra) considers SATA drives
> in an enclosure connected via thunderbolt to be just as external as a
> USB key you plug into keyboard.

As it should. As it always did.

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Spotlight on external drives JF Mezei <jfmezei.spamnot@vaxination.ca> - 2018-06-18 04:36 -0400
  Re: Spotlight on external drives Alan Baker <nunya@ness.biz> - 2018-06-18 06:40 -0700
    Re: Spotlight on external drives JF Mezei <jfmezei.spamnot@vaxination.ca> - 2018-06-18 14:25 -0400
      Re: Spotlight on external drives Alan Baker <nunya@ness.biz> - 2018-06-19 10:01 -0400
        Re: Spotlight on external drives nmassello@yahoo.com (Neill Massello) - 2018-06-19 09:27 -0600
          Re: Spotlight on external drives Steve Carroll <frelwizzen@gmail.com> - 2018-06-19 08:48 -0700
          Re: Spotlight on external drives Steve Carroll <frelwizzen@gmail.com> - 2018-06-19 19:11 -0700
        Re: Spotlight on external drives Jolly Roger <jollyroger@pobox.com> - 2018-06-19 15:29 +0000
  Re: Spotlight on external drives Steve Carroll <frelwizzen@gmail.com> - 2018-06-18 19:13 -0700

csiph-web