Device Type Detection Flaw #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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"