• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to restore /var/db/dyld cache?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to restore /var/db/dyld cache?


  • Subject: Re: How to restore /var/db/dyld cache?
  • From: Karl Kuehn <email@hidden>
  • Date: Tue, 11 Jan 2011 20:09:42 -0800

On Jan 11, 2011, at 7:03 PM, James Bucanek wrote:

> 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.


	If you read the man page for update_dyld_shared_cache you will see that you can run it with -root and the supply the path to the mounted volume. I have done this in the past to solve similar issues in a restore situation (there was some funkiness otherwise).

	If you are worried about the version of update_dyld_shared_cache used, then use the one from the target volume. Unless you have huge deltas in the versions of MacOS X, you should be able to do this.

--
	Karl Kuehn
		email@hidden




 _______________________________________________
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

  • Follow-Ups:
    • Re: How to restore /var/db/dyld cache?
      • From: James Bucanek <email@hidden>
References: 
 >How to restore /var/db/dyld cache? (From: James Bucanek <email@hidden>)

  • Prev by Date: How to restore /var/db/dyld cache?
  • Next by Date: Re: How to restore /var/db/dyld cache?
  • Previous by thread: How to restore /var/db/dyld cache?
  • Next by thread: Re: How to restore /var/db/dyld cache?
  • Index(es):
    • Date
    • Thread