Add simple autodetection mechanism for SMART capable devices
|Reported by:||gcooper||Owned by:||william|
Some devices that are ideal for caching / logging via ZFS are not SMART capable (thinking of some SSDs and some flash based storage we have access to at iX). It would be a good idea to do something like the following maybe to test whether or not the device is SMART capable before making it an available SMART test target:
smartctl -i /dev/ada0
etc. It would users' lives easier at least when trying to determine why smartd isn't enabled because one of the devices isn't SMART capable.