Optimizing Mac OS X hard drive There is a way to optimize a Mac OS X hard drive without using utility programs.
Contributed by: Unknown User anonymous2 [06/18/03 | Discuss (3) | Link to this hack]
Go to the terminal
Type update_prebinding
Not really much of a hack. I do a lot of digital photogrpahy and some people work with video a lot. And if your hard drive is getting close to full you will experience a slow down. There is a need to optimize the hard drive. Mac OS X (BSD) actually has this capability.
Comments on this hack
Showing messages 1 through 3 of 3.
There are already there...
2003-12-30 01:32:24
anonymous2
[View]
If using Mac OS X (not sure which version onwards), there prebinding will works automatically.
This is not a hack, instead it is totally misleading
2003-07-27 07:46:17
anonymous2
[View]
This has notihing to do with optimizing the disk, update_prebinding is a command that should be run after installation of new software, when that software is using external libraries. It doesn't need to be though, as OS X will automatically try to fix prebinding issues as you try to launch the application that was installed.
Prebinding simply creates a "list" of what files are needed as you launch an application, where they reside on yur disk, and in what order they need to be read and loaded. It doesn't move stuff on your disk, and it certainly does no defragmenting or map out bad sectors, as an optimizer would.
If you want to optimize your OS X disk, the fastest and easiest way is to use the free Carbon Copy Cloner (www.bombich.com) to clone your disk to another device. Then boot from the clone and format your original disk, and choose "zero format", as that will map out bad sectors on the disk.
This normally takes a long time, longer the larger your disk is. What happens is that Disk Utility will try to write and read zeroes in every position on the disk, and when it fails to do so it will add that sector to the list of bad sectors, and it will never be used again.
Then restore the clone back to the original disk. That's it. You're done. It takes approximately as long as running a utility such as Speed Disk, but this way is safer and cheaper.
update_prebinding is a library optimization
2003-06-18 11:13:15
rflicken
[View]
I don't think update_prebinding has anything to do with optimizing the hard drive. I believe it is for keeping library address locations up to date. From man update_prebinding:
update_prebinding tries to synchronize prebinding information for libraries and executables when new files are added to a system. Prebinding information is precalculated address information for libraries used by a given executable or library. By predetermining where a function in another library is destined to be placed, the dynamic linker does not have to resolve symbols at application startup time, and the application can launch faster.
If you update system libraries, then running update_prebinding should make your applications launch more quickly. It shouldn't affect performance at all if you are just adding a bunch of data (like photos or music).