Allow for setting of smartctl device type
Opened this issue · 0 comments
andrewvaughan commented
I usually test my drives via a USB SATA adapter before going through the hassle of taking my drive bays out. To do this, I have to use the -d sat
argument with smartctl
.
It would be useful to have an option to launch bht
with the ability to pass configurations through to smartctl
so that I can do this (for now, I literally just added -d sat
anywhere smartctl
was called in the script).
An option might be like:
bht --smartctl-params "-d sat" /dev/sdg
That way, you can allow the end-user to configure smartctl
however they need... and should generally be a pretty quick fix to add in a variable for each of the smartctl
calls in the script (set to blank, by default).