#Yep, that file exists and is zero-length
1 messages ยท Page 1 of 1 (latest)
my understanding, but I can't back this up, is that
mdutil -i off /Volumes/CIRCUITPY
is slightly different from both the Privacy tab and the never index file so there's a chance that one might succeed, if you haven't tried it yet
that's my last trick for getting Spotlight to stop
actually - one more though is is extra hacky
Time Machine volumes should have a .com.apple.timemachine.supported file, which also stops indexing. I don't think Time Machine will automatically start backing up to volumes with that file though - that would be so hilariously awful that I have to try it right now ๐
Good call. But doing mdutil -s shows:
% mdutil -s /Volumes/CIRCUITPY
/System/Volumes/Data/Volumes/CIRCUITPY:
Indexing and searching disabled.
so I think .metadata_never_index is doing its job
argh!
yeah
especially frustrating because the 5-second restart thing isn't happening now
Maybe I should just file an issue on this with a video showing what I'm seeing
Not sure if relevant, but I just unplugged for 15 mins and then replugged the device. It did the restart thing after ~9 seconds.
mdutil -s reports something slightly different:
% mdutil -s /Volumes/CIRCUITPY
/System/Volumes/Data/Volumes/CIRCUITPY:
Indexing disabled.
So "Indexing disabled" instead of "Indexing and searching disabled"
fascinating
I love Apple products but they're way too obtuse at times
I wonder if on search the system causing updates on last access timestamps? Which FAT32 doesn't have but possibly the extra metadata Apple tries to save does. And you're not actually searching so that's weird anyway
100% spitballing there
mdutil -d should tell it to stop searching on the drive, not sure how well that persists. Doesn't appear to be a way to label the drive itself to never be searched.
yeah, mdutil -d doesn't seem to do anything. The restarts still happen. And it doesn't appear to persist (or rather, I suspect the persistence mechanism is that .metadata_never_index file.
Oh and now it's in the "not going to recognize any external USB MSC drives" mode. Not CIRCUITPY, not USB thumbdrives.
Sigh. What has changed, MacOS? Why act like this?
oh this was happening for me before 15.6.1. I was hoping this "security" release would actually fix it ahha
There is some correlation with Time Machine backups (which also does a bunch of disk mounting). So I bet this is just yet-another bug due to the rewrites they've been doing to the filesystem drivers/Finder these last few years
ah got it
oh -- have you tried excluding CIRCUITPY from time machine backups?
I have that set on my mac
yep
yeah. when it gets into this "cannot mount any USB media including CIRCUITPY" mode, even diskutil list just hangs
until you take out the offending USB drive
no kidding! If I only had a repeatable test case
anyway, thanks for this thread. I may update it from time to time with observations. you are under no obligation to comment ๐
I'm happy to at least comiserate even if I'm out of ideas ๐
Upgraded to 15.6.1 last night and now I'm seeing CIRCUITPY randomly not mount too :/
Oh no this thread memetically infected your Mac!