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

mani manishrma at
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

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,
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Kernelnewbies mailing list