{"id":94895,"date":"2024-05-01T18:25:11","date_gmt":"2024-05-01T10:25:11","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=94895"},"modified":"2024-05-01T18:25:11","modified_gmt":"2024-05-01T10:25:11","slug":"linux-test-drive-operation","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-test-drive-operation.html","title":{"rendered":"Linux\u4e2d\u68c0\u6d4b\u786c\u76d8\u64cd\u4f5c"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u4f7f\u7528 hdparm \u548c dd \u547d\u4ee4\u6765\u68c0\u6d4b\u4f60\u7684\u786c\u76d8\u901f\u5ea6\u3002\u5b83\u4e3a\u5404\u79cd\u786c\u76d8\u7684 ioctls \u63d0\u4f9b\u4e86\u547d\u4ee4\u884c\u754c\u9762\uff0c\u8fd9\u662f\u7531 Linux \u7cfb\u7edf\u7684 ATA \/ IDE \/ SATA \u8bbe\u5907\u9a71\u52a8\u7a0b\u5e8f\u5b50\u7cfb\u7edf\u6240\u652f\u6301\u7684\u3002\u6709\u4e9b\u9009\u9879\u53ea\u80fd\u7528\u6700\u65b0\u7684\u5185\u6838\u624d\u80fd\u6b63\u5e38\u5de5\u4f5c\uff08\u8bf7\u786e\u4fdd\u5b89\u88c5\u4e86\u6700\u65b0\u7684\u5185\u6838\uff09\u3002\u6211\u4e5f\u63a8\u8350\u4f7f\u7528\u6700\u65b0\u7684\u5185\u6838\u6e90\u4ee3\u7801\u7684\u5305\u542b\u5934\u6587\u4ef6\u6765\u7f16\u8bd1 hdparm \u547d\u4ee4\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u5982\u4f55\u4f7f\u7528 hdparm \u547d\u4ee4\u6765\u68c0\u6d4b\u786c\u76d8\u7684\u4f20\u8f93\u901f\u5ea6<\/strong><\/div>\n \u4ee5 root \u7ba1\u7406\u5458\u6743\u9650\u767b\u5f55\u5e76\u6267\u884c\u547d\u4ee4\uff1a<\/p>\n $ sudo hdparm -tT \/dev\/sda\r\n<\/pre>\n |