What does an external hard drive do after it's been ejected?
I have a hard drive that I use only for occasional Time Machine backups. I plug it in and click "Back Up Now". When the backup is complete I eject the disk using the Finder. It seems to eject completely, I don't see it mounted in /Volumes, and if I unplug it right away, everything is OK---no warnings or anything.
But if I don't unplug it right away, it seems to keep working for awhile, at least 10 minutes. It's still spinning and I can feel the heads moving back and forth. So the question is: What is it doing? Some internal cleanup or compactification or the like? Spotlight indexing? (Though I explicitly exclude Time Machine backup disks.)
And who is controlling this? I don't see how the laptop can be doing anything on an unmounted drive, though I assume it's possible. I don't see processes that look relevant. Is it some procedure located on and entirely under control of the disk?
I'm not having any problems---as I say, this post-unmount activity can be interrupted (by unplugging) any time with no trouble. I'm just curious.
MacBook Pro 15″, macOS 10.14