Jump to content

What does Kext Utility do to rebuild cache ?


  • Please log in to reply
7 replies to this topic

#1
jamesst20

jamesst20

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 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 !! ;)

#2
jamesst20

jamesst20

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts
Ok, I found the correct permissions were 775 root:wheel

But can anyone answer my other question plz ?

#3
jamesst20

jamesst20

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts
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

#4
jamesst20

jamesst20

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts
Plz anyone..

#5
jamesst20

jamesst20

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts
I thought many users could have tell me but I guess I was wrong :/ ?

#6
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,123 posts
  • Gender:Male
  • Location:Brazil
Google "OS X Permissions" first hit: http://support.apple.com/kb/HT2963

Terminal:
man chmod, man chown

Google Lion Kernelcache, Lion Kextcache

etc etc

Good luck with your utility.

#7
jamesst20

jamesst20

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts
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: ?

#8
Ed_Saxman

Ed_Saxman

    InsanelyMac Geek

  • Retired
  • 232 posts
  • Gender:Male
  • Location:Barcelona
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.insanelym...w-do-i-do-this/





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy