原来macOS High Sierra内置Trim工具了

以前Mac换了第三方SSD总是使用Trim Enabler等工具做Trim,这次换了大SSD后,发现原来已经内置Trim工具了,很棒。操作步骤如下:

$ sudo trimforce enable
Password:

在 Password: 后输入你的 macOS 密码,然后是一大堆提醒文本:

IMPORTANT NOTICE:  This tool force-enables TRIM for all relevant attached

devices, even though such devices may not have been validated for data

integrity while using TRIM.  Use of this tool to enable TRIM may result in

unintended data loss or data corruption.  It should not be used in a commercial

operating environment or with important data. Before using this tool, you

should back up all of your data and regularly back up data while TRIM is

enabled.  This tool is provided on an “as is” basis. APPLE MAKES NO WARRANTIES,

EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF

NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE,

REGARDING THIS TOOL OR ITS USE ALONE OR IN COMBINATION WITH YOUR DEVICES,

SYSTEMS, OR SERVICES. BY USING THIS TOOL TO ENABLE TRIM, YOU AGREE THAT, TO THE

EXTENT PERMITTED BY APPLICABLE LAW, USE OF THE TOOL IS AT YOUR SOLE RISK AND

THAT THE ENTIRE RISK AS TO SATISFACTORY QUALITY, PERFORMANCE, ACCURACY AND

EFFORT IS WITH YOU.

Are you sure you wish to proceed (y/N)? y

Your system will immediately reboot when this is complete.

Is this OK (y/N)? y

Enabling TRIM...

.

.

Operation succeeded. Your system will reboot momentarily, please wait...

在需要输入 (y/N)的地方输入 y,重启,Trim完成。

最后,如果需要取消 Trim,使用如下语句:

$ sudo trimforce disable

 

转载于:https://www.cnblogs.com/xshg/p/8306164.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值