Improved device type detection: - Use anchored regex (^Rotation Rate:) to avoid false matches - Check for actual RPM values (e.g., "7200 rpm") to confirm HDD - Only match SSD in model name field, not anywhere in output - Default to HDD when Rotation Rate field is missing This fixes drives like WDC WD80EFZZ being incorrectly detected as SSDs when the Rotation Rate field wasn't being matched. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
45 KiB
45 KiB