Device Type Detection Flaw #7

Open
opened 2026-02-02 14:58:49 -05:00 by jared · 0 comments
Owner

Line ~220

local type=$(echo "$smart_info" | grep "Rotation Rate" | grep -q "Solid State" && echo "SSD" || echo "HDD")

Issue:

NVMe drives don't have "Rotation Rate" field → incorrectly labeled as HDD

Some SSDs report "Rotation Rate: Solid State Device"

Some report "0 RPM" or "N/A"

# Line ~220 local type=$(echo "$smart_info" | grep "Rotation Rate" | grep -q "Solid State" && echo "SSD" || echo "HDD") Issue: NVMe drives don't have "Rotation Rate" field → incorrectly labeled as HDD Some SSDs report "Rotation Rate: Solid State Device" Some report "0 RPM" or "N/A"
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/driveAtlas#7