freebsd-dev/sbin/nvmecontrol
Alexander Motin 8f92938fab Use proper variable for device path.
It seems *-passthru commands were broken from the day one, since the
device path is fetched into opt.dev variable and not left in argv[optind].
The other three wrong argv[optind] instances are just in error messages.

MFC after:	1 week
Sponsored by:	iXsystems, Inc.
2020-10-28 17:28:48 +00:00
..
modules Use intmax_t to print uint64_t values. 2020-10-07 07:55:55 +00:00
tests Ensure kyua list working when there is no /dev/nvme* 2020-04-13 21:08:54 +00:00
comnd.c Assume all the short args have optional args so allocate space for the 2019-09-11 13:34:19 +00:00
comnd.h Create generic command / arg parsing routines 2019-07-16 17:24:03 +00:00
devlist.c Add a basic test for nvmecontrol 2020-04-07 20:26:42 +00:00
firmware.c Whitespace fix after r365948 2020-09-21 18:34:13 +00:00
format.c Fix parameter check broken at r350057. 2019-08-03 04:30:22 +00:00
identify_ext.c Honor the FWUG value of some drives in nvmecontrol 2020-09-21 15:45:49 +00:00
identify.c Add missing newlines. 2020-07-23 14:33:25 +00:00
logpage.c Fix nvmecontrol logpage -i parameter. 2020-10-15 15:36:08 +00:00
Makefile Add a basic test for nvmecontrol 2020-04-07 20:26:42 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nc_util.c Add SPDX tag. 2019-02-28 02:29:48 +00:00
ns.c Use proper variable for device path. 2020-10-28 17:28:48 +00:00
nsid.c Open device with O_RDONLY when command is non-invasive. 2020-04-20 13:47:07 +00:00
nvmecontrol_ext.h Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
nvmecontrol.8 Document the passthru commands. 2020-05-01 20:29:51 +00:00
nvmecontrol.c Replace literal uses of /usr/local in C sources with _PATH_LOCALBASE 2020-10-27 11:29:11 +00:00
nvmecontrol.h Open device with O_RDONLY when command is non-invasive. 2020-04-20 13:47:07 +00:00
passthru.c Use proper variable for device path. 2020-10-28 17:28:48 +00:00
perftest.c Size is unsigned, so remove the test entirely. 2019-09-25 07:51:30 +00:00
power.c Allow namespace-id specification where it makes sense. 2020-04-20 14:54:41 +00:00
reset.c Use proper variable for device path. 2020-10-28 17:28:48 +00:00
resv.c Open device with O_RDONLY when command is non-invasive. 2020-04-20 13:47:07 +00:00
sanitize.c Add nvmecontrol resv to handle NVMe reservations. 2019-08-05 17:36:00 +00:00