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