martijnvanbrummelen / nwipe

nwipe secure disk eraser
GNU General Public License v2.0
682 stars 77 forks source link

fix_endian_model_name #494

Closed PartialVolume closed 10 months ago

PartialVolume commented 10 months ago

Some IDE USB adapter chipsets get the endian wrong for model name This fix identifies a endian swapped model name and corrects it.

The function currently only includes Samsung but I'll add more IDE drive manufacturers as I come across them.

This is peculiar to some USB IDE adapters. I've never seen this issue with SATA, ATA drives connected directly to the motherboard.