How do I run a device self-test on storage devices on OS X?
I want to send the ATA-level commands to perform self-test on a device -- not the SMART tools. I ne开发者_运维知识库ed to do it from C without the use of any 3rd party or external tools.
Disclaimer: Not sure what exactly you are looking for.
http://sourceforge.net/apps/trac/smartmontools/wiki
The smartmontools package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (SMART) built into most modern ATA and SCSI harddisks. In many cases, these utilities will provide advanced warning of disk degradation and failure.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论