The initial version of the script used hdparm to get information about a physical disk. Later we discovered that all this information can be retrieved using smartctl. Currently the hdparm-using code is unused. We could use it as a fallback where smartctl is unavailable.
The initial version of the script used
hdparm
to get information about a physical disk. Later we discovered that all this information can be retrieved usingsmartctl
. Currently thehdparm
-using code is unused. We could use it as a fallback wheresmartctl
is unavailable.