How to restore /var/db/dyld cache?
How to restore /var/db/dyld cache?
- Subject: How to restore /var/db/dyld cache?
- From: James Bucanek <email@hidden>
- Date: Tue, 11 Jan 2011 20:03:15 -0700
Greetings,
I'm the author of a backup solution for OS X. An issue that's
come up with a few customers running 10.6 is dynamic library
cache errors following a complete system volume restore.
The problem can be resolved by running update_dyld_shared_cache
-force, but it isn't practical for my utility to run this
automatically (especially since the restored system volume may
not be the startup volume).
In 10.5, the man page for update_dyld_shared_cache says that
it's run automatically by launchd and should never have to
invoked manually. In 10.6, however, the man page for
update_dyld_shared_cache says that it's run by Apple's installer
and system update software, and might need to be run "if for
some reason you used another mechanism alter the OS dylib,"
which of course a full restore of the system volume would do.
So is there some clever means by which I can cause the dyld
cache to be rebuilt automatically? For example, can I safely
exclude the /var/db/dyld/dyld_shared_cache_* files from the
backup? Will 10.6 automatically rebuild the missing cache files
when the system is rebooted?
TIA
--
James Bucanek
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden