- 작성시간 : 2012/01/26 12:33
- 퍼머링크 : mcchae.egloos.com/10837670
- 덧글수 : 0
언젠가 TRIM Enable을 하기 위해서 관련 App를 설치하고 했었던것 같은데,



라이온에서는 디폴트로 가능한데 명령을 내려줘야 하는군요..
일단 TRIM 활성화 되었는가를 확인하기 위하여,
상단 메뉴바의 애플에서 "About This Mac"을 눌러

"System Report..."를 누르면,

위와 같이 TRIM Support가 No 라고 되어 있군요... (나중에 TRIM을 별도로 설치했었던 것 같은데...)
이 상태에서,
터미널 창을 열어, 다음을 쉘 파일로 저장한 다음 수행시켜 주셔요.
# Enable all SSD TRIM Enable for OS X Lion
#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!
enable_trim.sh 다운로드하시면 됩니다.
(해지하는 것도 코멘트로 넣어 두었습니다)
위의 파일을 수행하고 Reboot을 하고 나면,

왜 꼭 SSD에서는 TRIM을 해야 하는지는 모르겠으나 (사용할 수록 속도 차이가 난다고 하는군요)
필요하다고 하는군요...
도움이 되셨기를 바랍니다.
덧글