Some devices might mount CDROMs (/dev/srX) containing WD-Unlock tool used on Windows systems to decrypt the drive. These have the same ID_SERIAL value and will show up in the results as a different device.
Script wrongly tells me I have multiple devices and this check fixes that.
Add a check to filter out non hard disks.
Some devices might mount CDROMs (/dev/srX) containing
WD-Unlock
tool used on Windows systems to decrypt the drive. These have the sameID_SERIAL
value and will show up in the results as a different device.Script wrongly tells me I have multiple devices and this check fixes that.