• 原来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
  • 相关阅读:
    <Listener>HttpSessionListener和HttpSessionAttributeListener区别
    @WebFilter怎么控制多个filter的执行顺序
    Springboot+Mybatis+MySQL实例练习时踩坑记录
    Git学习篇之git remote add origin错误
    Springboot高版本中@ConfigurationProperties注解取消location属性
    mevan中GroupId和ArtifactId到底怎么填?
    sqrt()函数对素数判断的优化
    oj错误之char型超出范围
    排序算法之桶排序
    Spring中常用注解
  • 原文地址:https://www.cnblogs.com/xshg/p/8306164.html
Copyright © 2020-2023  润新知