How to identify Connected USB Storage device (Harddisk, flash Memory or SSD)

mani manishrma at gmail.com
Tue Sep 6 06:32:33 EDT 2011


Hi all,

Is there any way to find out the type of the connected USB disk (Hard
disk/SDD)?

AFAIK there is a significant performance difference in Harddisk/SDD devices.

Previously i though that the rotational flag in the sysfs will distinguish
them but it is same for both the types

#cat /sys/block/sda/queue/rotational
1 for both flash & HDD

Is there any way to distinguish the USB Harddisk or SDD drives ?

Thanks & Regards,
Manish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110906/f2bd2875/attachment.html 


More information about the Kernelnewbies mailing list