| Nevyn ( @ 2007-01-22 00:06:00 |
| Current mood: | |
| Current music: | Space DJz - Track 2 |
| Entry tags: | ard, bug, frustration, mac, osx |
build_hd_index is evil.
/System/Library/CoreServices/RemoteManag seems to build an index of my harddrives. At midnight. Every night. Of *all* my harddrives (I have quite a few...). When I'm trying to sleep.
Not only is this very annoying by itself, but the big question is: WHY, GOD, WHY?! The machine already has Spotlight! There's a complete index of my entire harddrive right there. Not only THAT, most unix systems -- including Mac OS X -- comes with a utility to do exactly what build_hd_index seems to be doing: /usr/libexec/locate.updatedb.
So, every night, every mac in my room builds a harddrive index. Just in case locate fails. Which you would only use in case Spotlight fails. Welcome to the Department of Redundancy Department.
Disable build_hd_index, with no apparent loss of functionality:
sudo chmod 000 /System/Library/\ CoreServices/RemoteManagement/\ ARDAgent.app/Contents/Support/build_hd_index
You probably have to redo that every time you do a system update or repair permissions.
WARNING! Don't use ACLs! In an attempt to prevent system updates from restoring build_hd_index, I used Access Control Lists to completely remove all permissions from it for all users. However, Apple's Software Updater can't handle this, and will fail fatally! This completely destroyed my 10.5.1 Server system when trying to update to 10.5.2.
You can also move the file, instead of chmodding it. Either will work, but both will be "repaired" with the next system update.