Bug 375335 - Detect SSD vs Hard drive
Summary: Detect SSD vs Hard drive
Status: RESOLVED UPSTREAM
Alias: None
Product: frameworks-solid
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.29.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Lukáš Tinkl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-20 10:59 UTC by Lukas Ba.
Modified: 2021-07-08 13:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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