有什么方法可以检测驱动器是否为SSD? [英] Is there any way of detecting if a drive is a SSD?

查看:151
本文介绍了有什么方法可以检测驱动器是否为SSD?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我准备发布仅对常规硬盘有效,而对SSD(固态硬盘)无效的工具.实际上,它不应该与SSD一起使用,因为它会导致大量读/写操作而没有实际效果.

I'm getting ready to release a tool that is only effective with regular hard drives, not SSD (solid state drive). In fact, it shouldn't be used with SSD's because it will result in a lot of read/writes with no real effectiveness.

任何人都知道一种检测给定驱动器是否为固态的方法吗?

Anyone knows of a way of detecting if a given drive is solid-state?

推荐答案

检测SSD并非像dseifert指出的那样简单. linux的libata已经有了一些进步( http://linux .derkeiler.com/Mailing-Lists/Kernel/2009-04/msg03625.html ),尽管它似乎尚未为用户所用.

Detecting SSDs is not as impossible as dseifert makes out. There is already some progress in linux's libata (http://linux.derkeiler.com/Mailing-Lists/Kernel/2009-04/msg03625.html), though it doesn't seem user-ready yet.

我绝对理解为什么需要这样做.基本上,这是链表和数组之间的区别.碎片整理通常在SSD上适得其反.

And I definitely understand why this needs to be done. It's basically the difference between a linked list and an array. Defragmentation and such is usually counter-productive on a SSD.

这篇关于有什么方法可以检测驱动器是否为SSD?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆