Bug 375335

Summary: Detect SSD vs Hard drive
Product: [Frameworks and Libraries] frameworks-solid Reporter: Lukas Ba. <kdeu>
Component: generalAssignee: Lukáš Tinkl <lukas>
Status: RESOLVED UPSTREAM    
Severity: normal CC: a.samirh78, kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 5.29.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Lukas Ba. 2017-01-20 10:59:47 UTC
Solid doesn't know the difference between Hard drives and SSDs,
so other programs like kinfocenter always show it as a Hard drive.

Linux knows the difference, see
/sys/block/sdx/queue/rotational
and udev's
ATTR{queue/rotational}=="0"
Comment 1 Ahmad Samir 2021-07-08 13:39:45 UTC
The underlying backend, udisks, doesn't provide a method to get that info. So ideally you should file a bug with udisks. https://github.com/storaged-project/udisks/issues