• 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: PowerMac7_2_PlatformPlugin.kext remark and questions (work around temperature/power sensor problem)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PowerMac7_2_PlatformPlugin.kext remark and questions (work around temperature/power sensor problem)


  • Subject: Re: PowerMac7_2_PlatformPlugin.kext remark and questions (work around temperature/power sensor problem)
  • From: Andrew Myrick <email@hidden>
  • Date: Mon, 02 Mar 2009 09:55:11 -0800

My guess is that Extensions.mkext not only caches the code of kexts, but also their Info.plist. So when I previously changed the Info.plist of PowerMac7_2_PlatformPlugin.kext, those changes were not taken into account simply because the kextcache was not rebuilt (editing that file does not change the timestamp of /System/Library/ Extensions). My bungling with the replacement AppleHWSensors kext did force a rebuild however, so now my replacement Info.plist is actually being used.

There are a number of caches related to kexts, and their storage locations may vary across OS versions. The safest thing to do when changing anything in /System/Library/Extensions (SLE) is simply to touch SLE; the kext management tools will detect the change and update their caches accordingly. There is no need to delete Extensions.mkext when using this method; if the caches fail to update, the system will still be able to tell that they are out of date and will ignore them. It is also good practice to make your changes to SLE atomically by copying a kext out, modifying the copy, moving it back over the original, and then touching SLE.


-Andrew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: PowerMac7_2_PlatformPlugin.kext remark and questions (work around temperature/power sensor problem) (From: Jonas Maebe <email@hidden>)

  • Prev by Date: Re: PowerMac7_2_PlatformPlugin.kext remark and questions (work around temperature/power sensor problem)
  • Next by Date: Re: rusage::ru_maxrss in bytes or kilobytes
  • Previous by thread: Re: PowerMac7_2_PlatformPlugin.kext remark and questions (work around temperature/power sensor problem)
  • Next by thread: How does /dev/mem work?
  • Index(es):
    • Date
    • Thread