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


Groups > comp.sys.mac.system > #117289 > unrolled thread

Spotlight on external drives

Started byJF Mezei <jfmezei.spamnot@vaxination.ca>
First post2018-06-18 04:36 -0400
Last post2018-06-18 19:13 -0700
Articles 9 — 5 participants

Back to article view | Back to comp.sys.mac.system


Contents

  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

#117289 — Spotlight on external drives

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2018-06-18 04:36 -0400
SubjectSpotlight on external drives
Message-ID<xaKVC.349129$DS3.28237@fx42.iad>
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.

I hear the mdworker re-indexing my disk now !


(and it will take a while since I basically purged all files related to
Spotlight-V100é


Also note: many web sites point to

/private/var/db/Spotlight-V100/volumes  where there can be glitches (and
you fix by deleteing those files and let Spotlight recreate).

This directory does not exist on High Sierra.


BTW, as a side question:  man launchctl now says that all those commands
I knwo are "legacy".

LEGACY SUBCOMMANDS
     Subcommands from the previous implementation of launchd are
generally available,
     though some may be unimplemented. Unimplemented subcommands are
documented as such.

This includes load, unload, submit, start, stop etc.

Is there some technical note somewhere that explains what happened to
launchd/launchctl and how we should be using it from now on, now that
the common commands are "legacy" ?

[toc] | [next] | [standalone]


#117290

FromAlan Baker <nunya@ness.biz>
Date2018-06-18 06:40 -0700
Message-ID<pg8cp9$l62$1@gioia.aioe.org>
In reply to#117289
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.

[toc] | [prev] | [next] | [standalone]


#117293

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2018-06-18 14:25 -0400
Message-ID<1OSVC.447213$PE5.35659@fx37.iad>
In reply to#117290
On 2018-06-18 09:40, Alan Baker wrote:

>> 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.


For 2009 MacPro, it was not the case. The disks were considered
internal.  So that trick worked fine to exclude USB sticks from indexing
in Spotlight without affecting the data drives.

But the 2013 MacPro forced move of internal drives to external cabinet
and I didn't think it would be considered "external" since the
connection is thunderbolt with a actual cabinet to support internal
drives that are not removable.

[toc] | [prev] | [next] | [standalone]


#117304

FromAlan Baker <nunya@ness.biz>
Date2018-06-19 10:01 -0400
Message-ID<pgb2bv$168s$1@gioia.aioe.org>
In reply to#117293
On 2018-06-18 2:25 PM, JF Mezei wrote:
> On 2018-06-18 09:40, Alan Baker wrote:
> 
>>> 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.
> 
> 
> For 2009 MacPro, it was not the case. The disks were considered
> internal.  So that trick worked fine to exclude USB sticks from indexing
> in Spotlight without affecting the data drives.

No. They were not.

> 
> But the 2013 MacPro forced move of internal drives to external cabinet
> and I didn't think it would be considered "external" since the
> connection is thunderbolt with a actual cabinet to support internal
> drives that are not removable.

And now you admit that the drives WERE internal orginally.

> 

[toc] | [prev] | [next] | [standalone]


#117305

Fromnmassello@yahoo.com (Neill Massello)
Date2018-06-19 09:27 -0600
Message-ID<1nqmxkx.te51rq9veosjN%nmassello@yahoo.com>
In reply to#117304
Alan Baker <nunya@ness.biz> wrote:

> On 2018-06-18 2:25 PM, JF Mezei wrote:
> > On 2018-06-18 09:40, Alan Baker wrote:
> > 
> >>> 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.
> > 
> > 
> > For 2009 MacPro, it was not the case. The disks were considered
> > internal.  So that trick worked fine to exclude USB sticks from indexing
> > in Spotlight without affecting the data drives.
> 
> No. They were not.
> 
> > 
> > But the 2013 MacPro forced move of internal drives to external cabinet
> > and I didn't think it would be considered "external" since the
> > connection is thunderbolt with a actual cabinet to support internal
> > drives that are not removable.
> 
> And now you admit that the drives WERE internal orginally.

There was no Thunderbolt on the 2009 Mac Pro. With eSATA expansion
cards, disks could be treated as internal or external depending on the
card's driver. IIRC, during the time I was using a Seritek/2SE2-E, a
FirmTek driver upgrade changed it from internal to external. (This would
have been back in the days of 10.5 or 10.6.) With the Newertech cards
that used Apple's driver, it was always external. 

[toc] | [prev] | [next] | [standalone]


#117307

FromSteve Carroll <frelwizzen@gmail.com>
Date2018-06-19 08:48 -0700
Message-ID<d683b245-21a6-4cf6-84a2-e10507548cdd@googlegroups.com>
In reply to#117305
On Tuesday, June 19, 2018 at 8:27:35 AM UTC-7, Neill Massello wrote:
> Alan Baker <nunya@ness.biz> wrote:
> 
> > On 2018-06-18 2:25 PM, JF Mezei wrote:
> > > On 2018-06-18 09:40, Alan Baker wrote:
> > > 
> > >>> 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.
> > > 
> > > 
> > > For 2009 MacPro, it was not the case. The disks were considered
> > > internal.  So that trick worked fine to exclude USB sticks from indexing
> > > in Spotlight without affecting the data drives.
> > 
> > No. They were not.
> > 
> > > 
> > > But the 2013 MacPro forced move of internal drives to external cabinet
> > > and I didn't think it would be considered "external" since the
> > > connection is thunderbolt with a actual cabinet to support internal
> > > drives that are not removable.
> > 
> > And now you admit that the drives WERE internal orginally.
> 
> There was no Thunderbolt on the 2009 Mac Pro. With eSATA expansion
> cards, disks could be treated as internal or external depending on the
> card's driver. IIRC, during the time I was using a Seritek/2SE2-E, a
> FirmTek driver upgrade changed it from internal to external. (This would
> have been back in the days of 10.5 or 10.6.) With the Newertech cards
> that used Apple's driver, it was always external.



It was Sockboy who forged me and did not even try to hide it. 

Sandman created at least 20 virtual systems in the last year or so. I bet nobody else has ever done that. By the way, taking time building wisdom isn't wasted time. Thinking you know more than everyone else and taking it on yourself to convince people that it is true? THAT is a waste. The one skill Sockboy learned well is to try to shame Sandman into submission and if that doesn't work, shout him down or dishonesty change the argument. I bet we have different views about Sockboy. 

What were you expecting? Nobody who isn't just using you for nefarious ends (isn't a sock) sees you as anything remotely close to honorable. You have nobody but me to blame for that. 



--
Eight things to never feed your cat!!
http://www.macadvocacy.pw/2005/Nov/09/236626.html
Jonas Eklundh Communication

[toc] | [prev] | [next] | [standalone]


#117315

FromSteve Carroll <frelwizzen@gmail.com>
Date2018-06-19 19:11 -0700
Message-ID<77361d6b-7d6f-4301-8b01-cfc37c873c25@googlegroups.com>
In reply to#117305
On Tuesday, June 19, 2018 at 8:27:35 AM UTC-7, Neill Massello wrote:
> Alan Baker <nunya@ness.biz> wrote:
> 
> > On 2018-06-18 2:25 PM, JF Mezei wrote:
> > > On 2018-06-18 09:40, Alan Baker wrote:
> > > 
> > >>> 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.
> > > 
> > > 
> > > For 2009 MacPro, it was not the case. The disks were considered
> > > internal.  So that trick worked fine to exclude USB sticks from indexing
> > > in Spotlight without affecting the data drives.
> > 
> > No. They were not.
> > 
> > > 
> > > But the 2013 MacPro forced move of internal drives to external cabinet
> > > and I didn't think it would be considered "external" since the
> > > connection is thunderbolt with a actual cabinet to support internal
> > > drives that are not removable.
> > 
> > And now you admit that the drives WERE internal orginally.
> 
> There was no Thunderbolt on the 2009 Mac Pro. With eSATA expansion
> cards, disks could be treated as internal or external depending on the
> card's driver. IIRC, during the time I was using a Seritek/2SE2-E, a
> FirmTek driver upgrade changed it from internal to external. (This would
> have been back in the days of 10.5 or 10.6.) With the Newertech cards
> that used Apple's driver, it was always external.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

One thing that I have never seen spoofed is the Google acct. number so perhaps you can use it as a filtering criteria, too. Here's mine:

posting-account=qzPusQoAAADVdKNEKE-jqIVbecHp7oZ7 

My gmail posts go back to 2009 (that I've seen, crackhead's forgeries using gmail only go back to 2012). Notice the posting acct. number on this response matches this post from 2009:

<https://groups.google.com/forum/#!original/comp.os.linux.advocacy/C9FwjiytRoA/ftc2GG7-37AJ>
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJX5+9UAAoJELnOYK54exUCqOMP/AiBMj7DVoep+aTZfsYEwg7h
tTwqKInwpmHwUjkZYu2m+kBBuXOZR47OwKWZpUCfnloN4pfL2cgTqmAHeDilVI+L
9sUw15rPd95n/5BDXezZnxzoL6n/8/GzHYmFqUJoKScaOxab4Odf97PDqVfEqiml
G86egbR85z7deWiUNcl8Bq1zLtP17eSGy0sUmPMMDrbw/7lbGQ4ayA/ZqjfzXadx
qmf3+WYUEvquDgXN4b6x9Ig+EzlIME0Ylp3I6COEFJ69Ozu3ZjwWDp1RWI0Eq4XP
vV2I1GFq19AO02hAvJ/qZcWAHgYwhhlFmVWzoqbA1dSnDsCjLr0+xGaAUVcLuwjd
qNdLSd1wrunCfUuotc6kUGyvj2Vy3zA5oWmLpHA4utjOrm5RlSyTaJHESOV08CAS
X0YO+7LjGBxZ87U//Jfo0vB5u+ij91l7Zdsphf+eSNWvJ+DoUtimlvcP5o4Te1D9
rKNmZ1QUMkl/Kjl9x70Q58XH8etkp9d2NHE1vVth5c9vsfAaNkJVHn7TIC79h4NE
Kny8Zp0r+QCsKnqs+NYd9GPyhvGsGmoBzEneAOgs7l509EoCOB3+Lfam3D7OmdvD
97FL/nbKbmDE8n9H8gs1sAua3Yfwz8S7IpHN19GTh9GNCKU8F+orXTSzAPUaKNyp
mMihyxG5fd2CFFGEQV8a
=sC4v
-----END PGP SIGNATURE-----

--
Live on Kickstarter!
https://youtu.be/5OfWsoPAg7o
http://www.5z8.info/hateminorities_t7l3gt_linked-in-of-sex
http://www.5z8.info/warez_w2t4ge_girlsgonewildpart1.wmv
Jonas Eklundh Communication AB

[toc] | [prev] | [next] | [standalone]


#117306

FromJolly Roger <jollyroger@pobox.com>
Date2018-06-19 15:29 +0000
Message-ID<foslr4Fkeh1U1@mid.individual.net>
In reply to#117304
On 2018-06-19, Alan Baker <nunya@ness.biz> wrote:
> On 2018-06-18 2:25 PM, JF Mezei wrote:
>> On 2018-06-18 09:40, Alan Baker wrote:
>> 
>>>> 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.
>> 
>> For 2009 MacPro, it was not the case. The disks were considered
>> internal.  So that trick worked fine to exclude USB sticks from indexing
>> in Spotlight without affecting the data drives.
>
> No. They were not.
> 
>> But the 2013 MacPro forced move of internal drives to external cabinet
>> and I didn't think it would be considered "external" since the
>> connection is thunderbolt with a actual cabinet to support internal
>> drives that are not removable.
>
> And now you admit that the drives WERE internal orginally.

That can't be true; it doesn't fit the "Apple fucked me over" narrative.

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

[toc] | [prev] | [next] | [standalone]


#117300

FromSteve Carroll <frelwizzen@gmail.com>
Date2018-06-18 19:13 -0700
Message-ID<d670609b-779a-401e-b859-65b434d1cf63@googlegroups.com>
In reply to#117289
On Monday, June 18, 2018 at 1:36:48 AM UTC-7, 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.
> 
> I hear the mdworker re-indexing my disk now !
> 
> 
> (and it will take a while since I basically purged all files related to
> Spotlight-V100é
> 
> 
> Also note: many web sites point to
> 
> /private/var/db/Spotlight-V100/volumes  where there can be glitches (and
> you fix by deleteing those files and let Spotlight recreate).
> 
> This directory does not exist on High Sierra.
> 
> 
> BTW, as a side question:  man launchctl now says that all those commands
> I knwo are "legacy".
> 
> LEGACY SUBCOMMANDS
>      Subcommands from the previous implementation of launchd are
> generally available,
>      though some may be unimplemented. Unimplemented subcommands are
> documented as such.
> 
> This includes load, unload, submit, start, stop etc.
> 
> Is there some technical note somewhere that explains what happened to
> launchd/launchctl and how we should be using it from now on, now that
> the common commands are "legacy" ?



I am working on code which will blow what Linux has away. 

Generally, I wouldn't call a comment like Steve Petruzzellis's posts an outright lie right up until you disprove it (as you are here) and Steve Petruzzellis responds with the nothing but repetition without offering any evidence. Hell, just recently Steve Petruzzellis was declaring himself the only "true Linux advocate", and claiming that "advocates" (in mockery-quotes) are focusing on Windows more than on Linux. 

He is as incompetent as Steve Petruzzellis. 

Over and over, the refrain is Steve Petruzzellis wants to "talk tech", but Steve Petruzzellis spends most of his time whining about "ChromeOS". 

--
Puppy Videos
https://www.youtube.com/watch?v=AglvCo3dJ38&feature=youtu.be
http://www.5z8.info/how-to-build-a-bomb_o8n9lg_racist-raps
http://www.5z8.info/peepshow_z9s9ht_dogporn
Jonas Eklundh Communication

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.mac.system


csiph-web