Contribute
Register

Orange HDD icons and IOAHCIBlockStorageInjector...

Status
Not open for further replies.
Joined
Mar 11, 2010
Messages
2,122
Motherboard
Gigabyte GA-P55M-UD4
CPU
i7-860
Graphics
9800 GT
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
I read some posts about having some adverse effects with IOAHCIBlockStorageInjector...
Can anyone confirm this ?



Anyway, in my quest for "vanillaness" (I rather have one-less-kext, even if it's just a plist, with no custom driver behind), I came up with this method.

Two alternatives are presented, a Terminal based, and a GUI based:

Terminal based
In terminal type:
cp /System/Library/Extensions/IOStorageFamily.kext/Contents/Resources/Internal.icns /.VolumeIcon.icns
You can do this for each of the volumes found in /Volumes.

GUI based
If you prefer doing this with the GUI instead of terminal, do this:
  • Open Preview.[/*:m:2l0n9lmg]
  • Choose File|Open, and type /System/Library/Extensions/IOStorageFamily.kext/Contents/Resources/Internal.icns[/*:m:2l0n9lmg]
  • Make sure you have the sidebar displaying thumbnails[/*:m:2l0n9lmg]
  • Select the first "page" in the sidebar[/*:m:2l0n9lmg]
  • Hit <Cmd>-C (Copy)[/*:m:2l0n9lmg]
  • Now select your drive in finder, and "Get Info" (<Cmd>-I)[/*:m:2l0n9lmg]
  • When the drive info pops-up, click (select) the icon in the top part, it will glow in blue[/*:m:2l0n9lmg]
  • Hit <Cmd>-V ("Paste")[/*:m:2l0n9lmg]
  • Presto! Your drive has aluminum icon again[/*:m:2l0n9lmg]
 
Lnx2Mac said:
I read some posts about having some adverse effects with IOAHCIBlockStorageInjector...
Can anyone confirm this ?
The only adverse effect I know of is that you lose hot swap support. You can still unmount the drive and remove it. The issue is that when you reattach it it does not automatically get mounted. You have to mount it using disk utility (or terminal for you :) )

The only other fix I know of is to modify the system icon for an external drive and replace it with the internal drive icon. I don't like this as you will probably need to do this mod every time there is a OS update.

I like your approach with using a custom drive icon better. Good job.
 
Here is an easier solution.

Instead of opening the kext to get the icon, you can use this attachment.
 

Attachments

  • Internal HD.zip
    73.6 KB · Views: 262
Status
Not open for further replies.
Back
Top