直接查看下面文件内容 /sys/block/sda/queue/rotational 内容为0:SSD 内容为1:HDD 需要“转动” 转载于:https://my.oschina.net/chzhuo/blog/802791