Jump to content
Just nu i M3-nätverket

Ny SSD som aktiverar Apples egna TRIM


DIF

Recommended Posts

Controller SandForce® SF-2281 Series

 

 

Sandforce!!!!!

 

 

Jo SF såg det när kan kontrollerade :dumstrut:

 

Tror det är Exakt samma som OWC har i sina ( Helt egna F/W )

 

DIF

Link to comment
Share on other sites

Jo, men du måste manuellt aktivera det. Antingen med lite terminalhack eller med något program. Exempelvis Trim Enabler.

Detta gäller även Lion och Mountain Lion med. Kanske även tidigare OS X.

http://www.cindori.org/software/trimenabler/

 

Kör med Trim Enabler själv. Men trodde inte att det behövdes. Intressant!

Link to comment
Share on other sites

 

Kör med Trim Enabler själv. Men trodde inte att det behövdes. Intressant!

Jodå, det behövs. Brukar behövas återaktiveras när man uppdaterar OS X också. Från 10.9 till 10.9.1 osv.

Link to comment
Share on other sites

Hittade detta

 

TRIM can be enabled by using the following Terminal commands. Copy these commands and run them in Terminal:

Backup the file that you’re about to patch:

sudo cp /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage /IOAHCIBlockStorage.original

Patch the file to enable TRIM support:

sudo perl -pi -e ‘s|(\x52\x6F\x74\x61\x74\x69\x6F\x6E\x61\x6C\x00).{9}(\x00\x51)|$1\x00\x00\x00\x00\x00\x00\x00\x00\x00$2|sg’ /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage

Clear the kext caches:

sudo kextcache -system-prelinked-kernel

sudo kextcache -system-caches

Important: reboot your Mac!

To disable TRIM support in the future:

sudo perl -pi -e ‘s|(\x52\x6F\x74\x61\x74\x69\x6F\x6E\x61\x6C\x00).{9}(\x00\x51)|$1\x41\x50\x50\x4C\x45\x20\x53\x53\x44$2|sg’ /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage

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/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage

This patch simply edits a file called IOAHCIBlockStoage, removing a string that makes TRIM work for only Apple SSDs.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...