I have an external HDD which does not report SMART information properly (it gives nonsense results).
As such, the smartd daemon (part of smartmontools) keeps giving false alarms on how the device might be failing.
In /etc/smartmontools/smartd.conf (I'm using the default, here) I see a bunch of options but none that relate to my need (ignoring the alarms for a specific hard drive - I would like to be able to refer to it e.g. by USB ID, since the entry in /dev will vary if I have more devices connected).
I could edit /usr/libexec/smartmontools/smartdnotify (the script that smartd calls when an event happens) and manually force it to shut up about that specific device, but I'd like to know if there's a less ugly way to do that.
How to get smartd to not report any warnings for a specific HDD? I would not like to disable the daemon; I would like it to just not care about this specific HDD.