site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Hello Gilles, On May 12, 2005, at 1:23 AM, Gilles VayssiƩ (TRI-EDRE) wrote: Hi, i encounter a problem with the kextcache command under Tiger (8A428). The supported way to do this is: sudo touch /Volumes/ExternalDisk/System/Library/Extensions Please help or give advices. Thanks. __________________________________________________________________ Garth Cummings Apple Developer Technical Support gcummings@apple.com http://developer.apple.com/technicalsupport Spotlight on Innovation Worldwide Developers Conference 2005 June 6-10 in San Francisco http://developer.apple.com/wwdc _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com I would like to update cache on an external volume. Why? Because on startup, the volume is read online, so the caches can't be updated. So i need to update the cache before booting on this volume, from an "alive" system. Here is how i did under Panther, and it worked well: sudo kextcache -l -m /Volumes/ExternalDisk/System/Library/ Extensions.mkext /Volumes/ExternalDisk/System/Library/Extensions When the volume is next booted, the boot loader will notice that the KEXT caches are out of date and rebuild them. The problem with manually tweaking the caches is that each version of Mac OS X implements a different set of caches, and how they work is considered an implementation detail that developers shouldn't care about. Touching the Extensions directory will assure that the proper caches are rebuilt on all versions of Mac OS X. Gilles smime.p7s