]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
docs: Add Documentation files for get_mi_cmd_support_effects_log
authorJeff Lien <jeff.lien@wdc.com>
Tue, 22 Mar 2022 19:56:01 +0000 (14:56 -0500)
committerDaniel Wagner <dwagner@suse.de>
Fri, 1 Apr 2022 10:23:29 +0000 (12:23 +0200)
Signed-off-by: Jeff Lien <jeff.lien@wdc.com>
Documentation/meson.build
Documentation/nvme-mi-cmd-support-effects-log.txt [new file with mode: 0644]

index e210149465d9ac809b8d2337a895831712ee2db9..dbdabc66a6959df3824e22a42974bcc94600fcae 100644 (file)
@@ -27,6 +27,7 @@ adoc_sources = [
   'nvme-endurance-log',
   'nvme-error-log',
   'nvme-fid-support-effects-log',
+  'nvme-mi-cmd-support-effects-log',
   'nvme-flush',
   'nvme-format',
   'nvme-fw-commit',
diff --git a/Documentation/nvme-mi-cmd-support-effects-log.txt b/Documentation/nvme-mi-cmd-support-effects-log.txt
new file mode 100644 (file)
index 0000000..67b8355
--- /dev/null
@@ -0,0 +1,45 @@
+nvme-mi-cmd-support-effects-log(1)
+==================================
+
+NAME
+----
+nvme-mi-cmd-support-effects-log - Send NVMe MI Command Support and Effects log,
+                                  returns results and structure
+
+SYNOPSIS
+--------
+[verse]
+'nvme-mi-cmd-support-effects-log' <device> [-o <fmt> | --output-format=<fmt>]
+                                       [-H | --human-readable]
+
+DESCRIPTION
+-----------
+For the NVMe device given, sends an MI Command Support and Effects log (id 13h)
+and provides the result and returned log structure.
+
+The <device> parameter is mandatory and may be either the NVMe character
+device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1).
+
+On success, the structure may be returned in one of several ways depending
+on the option flags; the structure may be parsed by the program or the
+raw buffer may be printed to stdout.
+
+OPTIONS
+-------
+-o <format>::
+--output-format=<format>::
+    Set the reporting format to 'normal', 'json', or
+    'binary'. Only one output format can be used at a time.
+
+-H::
+--human-readable::
+       This option will parse and format many of the bit fields
+       into human-readable formats.
+
+EXAMPLES
+--------
+nvme mi-cmd-support-effects-log /dev/nvme0 -H
+
+NVME
+----
+Part of the nvme-user suite