Jump to content

What does Kext Utility do to rebuild cache ?


8 posts in this topic

Recommended Posts

Hi,

 

I'm going to make a really nice utility but btw I want to make sure I don't make mistakes. It's why I would like to know what does Kext Utility :

 

Here is the console of Kext Utility

 

Repair Permissions for "/System/Library/Extensions"

What are the correct permission ??

 

Updating system caches MAC OS X "Lion"................. Done

-- Build time = 35sec.

How does it is build ?

 

Search "/Extra/Extensions/" folder ... Not Found.

Why is it looking for Extra/Extensions and what would he have done ?

 

Syncing disk cache ... Done.

What does it means ?

 

and my final question :D Is it the same steps for Lion and Snow Leopard ?

 

Thanks !! ;)

Link to comment
Share on other sites

Ok, I'm now in 10.7.2 and it looks that Lion just load every single kexts at the time. Lion isn't using any Extensions.mkext . Does it means that I don't have to build it ?

 

If there is no Extensions.mkext in lion, why is Kext Utility doing this ? :

Updating system caches MAC OS X "Lion"................. Done

-- Build time = 35sec.

 

Thanks

Link to comment
Share on other sites

Haha thanks but I already know about rm, chmod, chown etc.. :wacko:

 

 

Here is what I know I need to do (Well for Lion because i don't know anything about SL :S)

 

S/L/E -> chmod -R 755 chown -R root:wheel

Update System caches (/System/Library/Caches/com.apple.kext.caches/Startup/):

kextcache -system-cache update system kext info caches for the root volume

kextcache -system-prelinked-kernel create/update system pre linked kernel

 

Anything else I need to know :blink: ?

Link to comment
Share on other sites

  • 11 months later...

After installing your KEXT, run the touch command on /System/Library/Extensions. Then,

  • if the release is 10.5 or newer, there's nothing more to do. All KEXT caches except for the prelinked kernel are updated automatically after a short delay; the prelinked kernel is updated after the next restart.

The differences are that:

(1) the touch command returns immediately, rather than when the cache is done rebuilding;

(2) the standard output and standard error of kextcache go into the system log instead of the terminal;

(3) the exit status of touch doesn't reflect whether the rebuild was successful.

 

http://developer.app...uid/DTS10002355

 

http://www.insanelymac.com/forum/topic/279023-should-i-update-the-kext-caches-how-do-i-do-this/

Link to comment
Share on other sites

 Share

×
×
  • Create New...