Enable TRIM on non-Apple SSDs in OS X
NOTE: This is tested on the versions mentioned in the title, and NOT earlier or later versions. YMMV.
Run the following commands in Terminal…
Backup the original driver:
sudo cp /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage-backup
Modify the driver (choose only one of the following lines, based on the version):
# 10.9.4
sudo perl -pi -e 's|(^\x00{1,20})[^\x00]{9}(\x00{1,20}\x54)|$1\x00\x00\x00\x00\x00\x00\x00\x00\x00$2|sg' /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage
# 10.8.3 to 10.9.3
sudo perl -pi -e 's|(\x52\x6F\x74\x61\x74\x69\x6F\x6E\x61\x6C\x00{1,20})[^\x00]{9}(\x00{1,20}\x54)|$1\x00\x00\x00\x00\x00\x00\x00\x00\x00$2|sg' /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage
# 10.7.5, 10.8.1, 10.8.2
sudo perl -pi -e 's|(\x52\x6F\x74\x61\x74\x69\x6F\x6E\x61\x6C\x00{1,20})[^\x00]{9}(\x00{1,20}\x4D)|$1\x00\x00\x00\x00\x00\x00\x00\x00\x00$2|sg' /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage
Run these commands in succession to clear the system caches to enable OS X to pick up the modified driver:
sudo kextcache -system-prelinked-kernel
sudo kextcache -system-caches
sudo touch /System/Library/Extensions/
Restart the Mac.
From:
https://gist.github.com/clarencesong/3768688
相关推荐
《thinkpadE440 U盘安装mac10.9.4 Gpt分区+Clover+UEFI引导成功记录 》博文附件
MAC OS X10.9.4,虚拟机苹果系统的,资源大小有5g多。。网盘分享链接保存即可 可用于学习苹果系统等
MAC OS X10.9.4,虚拟机苹果系统的,资源大小有5g多。。网盘分享链接保存即可 可用于学习苹果系统等
本人亲测,10.9.4的黑苹果,都可以用。把以前的内核从OS X 根目录删除(记得备份)我是在win里面删的。重启就可以了,以前看4K的视频卡,现在一点都不卡了。CPU从0.8超到了2.3
10.9.4原版app制作成dmg所需的文件
MariaDB数据库管理系统是MySQL的一个分支
志汇同城 10.9.4 前端后端齐全无BUG 志汇同城 10.9.4 前端后端齐全无BUG
主要功能: 分类资讯、同城发帖、商家入驻、商家展示、同城活动、同城合伙人、同城资讯、红包福利、同城拼车、拼团功能、积分商城、手机端发布商品、商城功能、五折卡…等百余项功能!!! 百度下载:...
环境配置是:hadoop 2.4.0+ eclipse 4.3.2+mac os+10.9.4 eclipse插件
亲测,编译成功,可以正常运行.
textmate, TextMate是 OS X 10.9 +的图形化文本编辑器 TextMate下载你可以从这里下载TextMate下载。反馈你可以使用的TextMate邮件列表或者 #textmate IRC频道在 freenode.net 中,用于问题。评论和 Bug 报告。...
osx 10.9.4系统 cdr格式下载地址-附件资源
在两Android手机上实现文件的传输,一台当服务器,一台当客户端,通过一个Socket来完成局域网内文件的传输。用的都是多线程来实现的,可以连续传,并且时刻检测连接状态,并作出对应的响应。还监测WIFI状态,自动...
新版万能声卡驱动-VoodooHDA-2.8.5 10.9.4可用 X200
无线网卡驱动10.9.4mac DWnet_ub801rdrv
iOS 开发中很好的管理工具 1.先在mac os 10.9.4安装brew环境 2.安装cocoapods 环境 3.pod install 安装你开发想用的包
10.9引导 可以引导10.9.4 亲测成功
测试通过能破解1.5.1 系统10.9.4
MariaDB数据库管理系统是MySQL的一个分支