nvme - Add nvmectl userland utility
commit7aa4eb964ab8cb462cabf5332675ba7c2c404236
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 18 Jun 2016 06:58:49 +0000 (17 23:58 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 18 Jun 2016 07:02:30 +0000 (18 00:02 -0700)
tree9b93e4bbf8a688d1ea05b881ec6291cb575ffd64
parent43844926a802f7ff6676984ccfee74fdf16a8670
nvme - Add nvmectl userland utility

* Add nvmectl, a general userland utility that we will use to retrieve
  status and do interesting things to nvme devices.

  Nominally feature the command to allow nvmeX devices to be specified
  at the end, and to apply the command to all nvme devices if none are
  specified.

* Implement 'nvmectl info'.  This command retrieves the SMART info from
  specified controllers and prints it out.
sbin/Makefile
sbin/nvmectl/Makefile [new file with mode: 0644]
sbin/nvmectl/nvmectl.c [new file with mode: 0644]
sbin/nvmectl/nvmectl.h [new file with mode: 0644]
sbin/nvmectl/subs.c [new file with mode: 0644]