add NVMe drive info [model num, serial num, drive temp. etc.] (#10613)

* add NVMe drive info [model num, serial num, drive temp. etc.]
* Ignore fuse partitions
* Add the nvme logic only for linux
* Move smart/nvme structs to a separate file

Co-authored-by: wlan0 <sidharthamn@gmail.com>
This commit is contained in:
Shireesh Anjal
2020-10-04 22:48:46 +05:30
committed by GitHub
parent 017954e7ea
commit f1418a50f0
10 changed files with 767 additions and 8 deletions

235
pkg/smart/bindata.go Normal file

File diff suppressed because one or more lines are too long