Alban Browaeys wrote:
Why is smartd of type notify? Does it send notification to systemd via
sd_notify?

Yes, otherwise this would not appear in systemctl status output:

     Status: "No devices to monitor"

See 'man smartd' for details.

Unfortunately it does not properly work in conjunction with '-q nodev0' because 'READY=1' is not notified before 'exit(0)' then. Systemd reports "failed (Result: protocol)" in this case. This will be fixed in the next release of smartmontools.

Regards,
Christian

Reply via email to