Display SMART data for SSDs, with support for NVMe drives.
Basically this shell script found here. Modified to support the MyDigitalSSD SBX SSD.
Smartmotools doesn't like the MyDigitalSSD SBX drive when accessed as /dev/nvme0n1
, but likes it when accessed as /dev/nvme0
. This script is thus modified to replace the former by the latter. In the future, if this modification breaks compatibility with other drives, it might do the replacement only if the drive is detected as the SBX.