Hello there,
The FreeBSD devs have decided, in their infinite wisdom, that NVMe devices should now be considered NDA devices by default:
https://man.freebsd.org/cgi/man.cgi?nda
This is instead of the previous standard of nvme / nvd:
https://man.freebsd.org/cgi/man.cgi?nvme
As the manpages reflect, one can mess with sysctl knobs to force nda devices to report as nvme / nvd instead, but this is non-standard now.
I am not sure if/when smartmontools devs will realize this change.
Currently, I have your sensors.sh script hacked up, in a dirty way, to report temps from nvmecontrol -- which is not ideal. The fact that a piece of software, designed specifically for nvme devices, is now co-opted to do so for nda devices is one seriously proper operation to confuse & mislead everybody. I haven't a clue why it was decided this is the correct course of action... there must be some seriously eccentric folks writing FreeBSD base code.
I am not experienced enough with shell scripting (zsh in particular), or the internal workings of smartmontools, or rather 'smartctl', to figure out how to make it report info of nda devices. But if you can figure it out, it would future-proof your excellent script.
Hello there,
The FreeBSD devs have decided, in their infinite wisdom, that NVMe devices should now be considered NDA devices by default:
https://man.freebsd.org/cgi/man.cgi?nda
This is instead of the previous standard of
nvme/nvd:https://man.freebsd.org/cgi/man.cgi?nvme
As the
manpagesreflect, one can mess withsysctlknobs to forcendadevices to report asnvme/nvdinstead, but this is non-standard now.I am not sure if/when
smartmontoolsdevs will realize this change.Currently, I have your
sensors.shscript hacked up, in a dirty way, to report temps fromnvmecontrol-- which is not ideal. The fact that a piece of software, designed specifically fornvmedevices, is now co-opted to do so forndadevices is one seriously proper operation to confuse & mislead everybody. I haven't a clue why it was decided this is the correct course of action... there must be some seriously eccentric folks writing FreeBSD base code.I am not experienced enough with shell scripting (zsh in particular), or the internal workings of
smartmontools, or rather 'smartctl', to figure out how to make it report info ofndadevices. But if you can figure it out, it would future-proof your excellent script.