Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
Sign in to follow this  
jamesst20

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 !! ;)

Share this post


Link to post
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

Share this post


Link to post
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: ?

Share this post


Link to post
Share on other sites

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/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×