vic*_*pos 8 spotlight time-machine osx-lion macos
我正在运行 Mac OS X 10.7 Lion 并试图在我的 Time Machine 硬盘驱动器上禁用 Spotlight 索引,因为 mds 和 mdworker 进程全天以 15-60% 的 CPU 疯狂运行......
我的问题不是我的 MacBook 运行缓慢,而是这种 CPU 消耗会随着时间的推移杀死我的电池的一些周期,只是为了在我的 Time Machine 备份中浪费从未使用过的搜索......
我尝试将 Time Machine HD 中的 Backups.backupdb 文件夹添加到隐私列表中,但我收到以下消息:
“Backups.backupdb”是 Time Machine 备份文件夹。您无法将其添加到隐私列表中。
然后我尝试使用sudo mdutil -a -i off;完全停止 Spotlight 这是输出:
/:
Indexing disabled.
/.MobileBackups:
Indexing enabled.
/Volumes/Files:
Indexing and searching disabled.
/Volumes/Komodo-Edit-6:
Indexing disabled.
/Volumes/MobileBackups:
Index is read-only.
/Volumes/MobileBackups/Backups.backupdb:
Index is read-only.
/Volumes/TimeMachine:
Indexing and searching disabled.
/Volumes/TimeMachine/Backups.backupdb:
Indexing enabled.
Run Code Online (Sandbox Code Playgroud)
如何禁用这种烦人的 Spotlight 行为?我不经常使用它,永久禁用它会很容易,或者至少停止索引我的 Time Machine 备份......
来自Spotless(一个 OSX 应用程序,有助于禁用 Spotlight 索引)的更改日志:
We also added support of Time Machine backup volumes.
Since these volumes cannot have their indexing disabled permanently,
Spotless no longer attempts to modify them.
Run Code Online (Sandbox Code Playgroud)
因此,即使以编程方式,您也无法禁用 Spotlight 对 Time Machine 的索引。