freebsd-dev/sbin/nvmecontrol
Jim Harris b378da2781 Simplify open_dev() by returning errno values rather than just 0 or 1.
Also remove stat() call and just rely on errno from open() call to discern
whether dev node exists or not.

Sponsored by:	Intel
Reviewed by:	kib, carl
MFC after:	3 days
2013-07-18 23:12:44 +00:00
..
devlist.c Simplify open_dev() by returning errno values rather than just 0 or 1. 2013-07-18 23:12:44 +00:00
firmware.c Do not throw an error if the user requests to activate the image from 2013-07-16 15:45:37 +00:00
identify.c Define constants for the lengths of the serial number, model number 2013-07-17 23:23:38 +00:00
logpage.c Send per-namespace logpage commands to the controller devnode, so they 2013-07-09 21:31:21 +00:00
Makefile Add firmware replacement and activation support to nvmecontrol(8) through 2013-06-27 00:08:25 +00:00
nvmecontrol.8 Add firmware replacement and activation support to nvmecontrol(8) through 2013-06-27 00:08:25 +00:00
nvmecontrol.c Simplify open_dev() by returning errno values rather than just 0 or 1. 2013-07-18 23:12:44 +00:00
nvmecontrol.h Ensure controller or namespace node name is specified before trying to 2013-07-09 21:33:12 +00:00
perftest.c Incorporate feedback from bde@ based on r252672 changes: 2013-07-09 21:14:15 +00:00
reset.c Incorporate feedback from bde@ based on r252672 changes: 2013-07-09 21:14:15 +00:00