Commit Graph

7 Commits

Author SHA1 Message Date
chrfranke 4c974b3178 Add NVMe self-test support to smartctl (#894).
Supported options: '-l selftest', '-t short', '-t long' and '-X'.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5408 4ea69e1a-61f1-4043-bf83-b5c94c648137
2022-09-18 14:50:33 +00:00
chrfranke f9e5f2b743 ataprint.h, nvmeprint.h, scsiprint.h: Use C++11 in-class member initializers.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5183 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-24 16:40:20 +00:00
chrfranke e391466f18 Add SPDX-License-Identifier to all files with GPL header (#919).
Remove GPL headers.  Remove outdated info about smartsuite.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@4760 4ea69e1a-61f1-4043-bf83-b5c94c648137
2018-08-19 18:45:53 +00:00
chrfranke 19476d5f11 nvmeprint.cpp, nvmeprint.h, smartctl.cpp, smartctl.8.in:
Add NVMe support for 'smartctl -c'.  Print various drive and namespace
capabilites.  Remove related info from '-i' output.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@4311 4ea69e1a-61f1-4043-bf83-b5c94c648137
2016-04-27 21:03:01 +00:00
chrfranke 783922f4b6 nvmecmds.cpp, nvmecmds.h, nvmeprint.cpp, nvmeprint.h, smartctl.cpp:
Add option '-l nvmelog,PAGE,SIZE'.
smartctl.8.in: Document '-l nvmelog,PAGE,SIZE'.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@4242 4ea69e1a-61f1-4043-bf83-b5c94c648137
2016-03-20 18:04:07 +00:00
chrfranke 3c9b455b02 nvmecmds.cpp, nvmecmds.h, nvmeprint.cpp, nvmeprint.h, smartctl.cpp:
Add option '-l error[,NUM]' for NVMe devices.
smartctl.8.in: Document '-l error[,NUM]'.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@4240 4ea69e1a-61f1-4043-bf83-b5c94c648137
2016-03-20 14:01:48 +00:00
chrfranke 156286c25e Add basic NVMe support for smartctl (-i -H -A):
Makefile.am: Add new files.
dev_interface.cpp, dev_interface.h: Add class nvme_device.
nvmecmds.cpp, nvmecmds.h: New module with NVMe command wrapper functions
for smartctl and smartd.
nvmeprint.cpp, nvmeprint.h: New module with nvmePrintMain().
smartctl.cpp: Add nvmePrintMain() support.
os_win32/vc10/smart*.vcxproj*: Add new files.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@4238 4ea69e1a-61f1-4043-bf83-b5c94c648137
2016-03-18 20:56:53 +00:00