anatol / smart.go

Pure-Go library to access drive's S.M.A.R.T. information

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for MacOSX

anatol opened this issue · comments

Add support for MacOSX

smart.go has a partial support for MacOSX. https://github.com/anatol/smart.go/blob/main/nvme_darwin.cpp provides an example how nvme SMART information can be obtained at macosx. Other drives (ATA and SCSI) should be done similar way.