nvme-cli: Add help text for wdc-plugin command vs-internal-log. Update help text for wdc-plugin command cap-diag.
Subsystems (2)
PATCH 2/2 nvme-cli: Add help text for wdc-plugin command vs-internal-log. Update help text for wdc-plugin command cap-diag.
Signed-off-by Jeff Lien <jeff.lien at wdc.com>
--- Documentation/nvme-wdc-cap-diag.1 | 57 +- Documentation/nvme-wdc-cap-diag.html | 43 +- Documentation/nvme-wdc-cap-diag.txt | 16 +- Documentation/nvme-wdc-vs-internal-log.1 | 163 ++++++ Documentation/nvme-wdc-vs-internal-log.html | 859 ++++++++++++++++++++++++++++ Documentation/nvme-wdc-vs-internal-log.txt | 64 +++ 6 files changed, 1191 insertions(+), 11 deletions(-) create mode 100644 Documentation/nvme-wdc-vs-internal-log.1 create mode 100644 Documentation/nvme-wdc-vs-internal-log.html create mode 100644 Documentation/nvme-wdc-vs-internal-log.txt
Documentation/nvme-wdc-cap-diag.1 +52 -5
@@ -1,13 +1,13 @@ '\" t .\" Title: nvme-wdc-cap-diag -.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] -.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 09/05/2018 +.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] +.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> +.\" Date: 12/10/2017 .\" Manual: NVMe Manual .\" Source: NVMe .\" Language: English .\" -.TH "NVME\-WDC\-CAP\-DIAG" "1" "09/05/2018" "NVMe" "NVMe Manual" +.TH "NVME\-WDC\-CAP\-DIAG" "1" "12/10/2017" "NVMe" "NVMe Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" -----------------------------------------------------------------
@@ -32,7 +32,7 @@ nvme-wdc-cap-diag \- Retrieve WDC device\*(Aqs diagnostic log and save to file\& .SH "SYNOPSIS" .sp .nf -\fInvme wdc cap\-diag\fR <device> [\-\-output\-file=<FILE>, \-o <FILE>] +\fInvme wdc cap\-diag\fR <device> [\-\-output\-file=<FILE>, \-o <FILE>] [\-\-transfer\-size=<SIZE>, \-s <SIZE>] .fi .SH "DESCRIPTION" .sp
@@ -47,6 +47,11 @@ This will only work on WDC devices supporting this feature\&. Results for any ot .RS 4 Output file; defaults to device serial number followed by "cap_diag" suffix .RE +.PP +\-s <SIZE>, \-\-transfer\-size=<SIZE> +.RS 4 +Transfer size; defaults to 0x10000 (65536 decimal) bytes +.RE .SH "EXAMPLES" .sp .RS 4
@@ -111,6 +116,48 @@ Gets the capture diagnostics log from the device and saves to defined file with .RE .\} .RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +Gets the capture diagnostics log from the device transferring the data in 64k chunks and saves to default file in current directory (e\&.g\&. STM00019F3F9internal_fw_log\&.bin): +.sp +.if n \{\ +.RS 4 +.\} +.nf +# nvme wdc cap\-diag /dev/nvme0 \-s 0x10000 +.fi +.if n \{\ +.RE +.\} +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +Gets the capture diagnostics log from the device transferring the data in 16k chunks and saves to default file in current directory (e\&.g\&. STM00019F3F9internal_fw_log\&.bin): +.sp +.if n \{\ +.RS 4 +.\} +.nf +# nvme wdc cap\-diag /dev/nvme0 \-s 16384 +.fi +.if n \{\ +.RE +.\} +.RE .SH "NVME" .sp Part of the nvme\-user suite\&.
Documentation/nvme-wdc-cap-diag.html +38 -5
87 lines not on this page · raw message
Documentation/nvme-wdc-cap-diag.txt +15 -1
@@ -8,7 +8,7 @@ nvme-wdc-cap-diag - Retrieve WDC device's diagnostic log and save to file. SYNOPSIS -------- [verse] -'nvme wdc cap-diag' <device> [--output-file=<FILE>, -o <FILE>] +'nvme wdc cap-diag' <device> [--output-file=<FILE>, -o <FILE>] [--transfer-size=<SIZE>, -s <SIZE>] DESCRIPTION -----------
@@ -27,6 +27,10 @@ OPTIONS --output-file=<FILE>:: Output file; defaults to device serial number followed by "cap_diag" suffix +-s <SIZE>:: +--transfer-size=<SIZE>:: + Transfer size; defaults to 0x10000 (65536 decimal) bytes + EXAMPLES -------- * Gets the capture diagnostics log from the device and saves to default file in current directory (e.g. STM00019F3F9cap_diag.bin):
@@ -44,6 +48,16 @@ EXAMPLES ------------ # nvme wdc cap-diag /dev/nvme0 -o /tmp/test ------------ +* Gets the capture diagnostics log from the device transferring the data in 64k chunks and saves to default file in current directory (e.g. STM00019F3F9internal_fw_log.bin): ++ +------------ +# nvme wdc cap-diag /dev/nvme0 -s 0x10000 +------------ +* Gets the capture diagnostics log from the device transferring the data in 16k chunks and saves to default file in current directory (e.g. STM00019F3F9internal_fw_log.bin): ++ +------------ +# nvme wdc cap-diag /dev/nvme0 -s 16384 +------------ NVME ----
Documentation/nvme-wdc-vs-internal-log.1 new file +163 -0
163 lines not on this page · raw message
Documentation/nvme-wdc-vs-internal-log.html new file +859 -0
859 lines not on this page · raw message
Documentation/nvme-wdc-vs-internal-log.txt new file +64 -0
64 lines not on this page · raw message
Signature · 1 line
1.8.3.1
PATCH 2/2 nvme-cli: Add help text for wdc-plugin command vs-internal-log. Update help text for wdc-plugin command cap-diag.
Quoted 12 lines · Jeffrey Lien
Signed-off-by Jeff Lien <jeff.lien at wdc.com>--- Documentation/nvme-wdc-cap-diag.1 | 57 +- Documentation/nvme-wdc-cap-diag.html | 43 +- Documentation/nvme-wdc-cap-diag.txt | 16 +- Documentation/nvme-wdc-vs-internal-log.1 | 163 ++++++ Documentation/nvme-wdc-vs-internal-log.html | 859 ++++++++++++++++++++++++++++ Documentation/nvme-wdc-vs-internal-log.txt | 64 +++ 6 files changed, 1191 insertions(+), 11 deletions(-) create mode 100644 Documentation/nvme-wdc-vs-internal-log.1 create mode 100644 Documentation/nvme-wdc-vs-internal-log.html create mode 100644 Documentation/nvme-wdc-vs-internal-log.txt
Thanks, Jeff. I've applied these, but I yanked out the .html and .1 files and regenerated those on my side. Those auto-generated files generally have a difficult time merging, so I'd rather to just apply the .txt files and update docs periodically or as needed.