Professional Documents
Culture Documents
/System/Library/Extensions/IOAHCIFamily.kext/Contents/Plu
gIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBloc
kStorage
Finally, if this does not work as expected, or if
something goes wrong, simply restore the backup:
sudo cp /IOAHCIBlockStorage.original
/System/Library/Extensions/IOAHCIFamily.kext/Contents/Plu
gIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBloc
kStorage
This patch simply edits a file called IOAHCIBlockStoage,
removing a string that makes TRIM work for only Apple
SSDs.
#
# Original version by Grant Parnell is offline
(http://digitaldj.net/2011/07/21/trim-enabler-for-lion/)
#
# Looks for "Apple" string in HD kext, changes it to a wildcard match for
anything
#
# Alternative to http://www.groths.org/trim-enabler-3-0-released/
# Method behind this madness described:
http://forums.macrumors.com/showthread.php?t=1409151&page=4
# See discussion in comments here:
https://www.macupdate.com/app/mac/39654/lion-tweaks
# And here: http://forums.macrumors.com/showthread.php?t=1410459
# And here: http://forums.macrumors.com/showthread.php?t=1480302
sudo cp
/System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockSto
rage.kext/Contents/MacOS/IOAHCIBlockStorage
/System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockSto
rage.kext/Contents/MacOS/IOAHCIBlockStorage.original
# for Mavericks and Mountain Lion from 10.8.3 to 10.9.3