[NVMe-CLI] Add updated documentation for additional parameters to specify file size
authorJeff Lien <jeff.lien@wdc.com>
Fri, 30 Aug 2019 15:53:24 +0000 (10:53 -0500)
committerJeff Lien <jeff.lien@wdc.com>
Fri, 30 Aug 2019 15:53:24 +0000 (10:53 -0500)
  in vs-internal-log command.

Documentation/nvme-wdc-vs-internal-log.txt

index 8a0486300e3172f42b2175cc9cb770ab9fcf3418..f7280f12bb9c307b08d3d639d5013f4693371108 100644 (file)
@@ -8,7 +8,8 @@ nvme-wdc-vs-internal-log - Retrieve WDC device's internal firmware log and save
 SYNOPSIS
 --------
 [verse]
-'nvme wdc vs-internal-log' <device> [--output-file=<FILE>, -o <FILE>] [--transfer-size=<SIZE>, -s <SIZE>]
+'nvme wdc vs-internal-log' <device> [--output-file=<FILE>, -o <FILE>] [--transfer-size=<SIZE>, -s <SIZE>] 
+    [--data-area=<DATA AREA>, -d <DATA_AREA>] [--file-size=<FILE SIZE>, -f <FILE SIZE>] [--offset=<OFFSET>, -t <OFFSET>]
 
 DESCRIPTION
 -----------
@@ -31,6 +32,23 @@ OPTIONS
 --transfer-size=<SIZE>::
     Transfer size; defaults to 0x10000 (65536 decimal) bytes
 
+-d <DATA AREA>::
+--data-area=<DATA AREA>::
+    DUI data area to retrieve.  The DUI data areas from 1 to <DATA AREA> will be retrieved.  This parameter 
+    is currently only supported on the SN340 device.  
+    
+-f <FILE SIZE>::
+--file-size=<FILE SIZE>::
+    Specifies the desired size of the data file starting at the passed in offset.  This allows the user to 
+    retrieve the data in several smaller files of the passed in size.  This parameter is currently only 
+    supported on the SN340 device.    
+
+-t <OFFSET>::
+--offset=<OFFSET>::        
+       Specifies the data offset at which to start retrieving the data.  This parameter is used in combination
+       with the file size parameter to retrieve the data in several smaller files.  This parameter is currently 
+    only supported on the SN340 device.      
+
 EXAMPLES
 --------
 * Gets the internal firmware log from the device and saves to default file in current directory (e.g. STM00019F3F9_internal_fw_log_20171127_095704.bin):
@@ -58,6 +76,13 @@ EXAMPLES
 ------------
 # nvme wdc vs-internal-log /dev/nvme0 -s 16384
 ------------
+* Gets the internal firmware log up to data area 3 from the device in 3 files of 0x1000000 bytes:
++
+------------
+# nvme wdc vs-internal-log /dev/nvme0 -d 3 -f 0x1000000 -t 0x0000000 -o /tmp/sn340_dui_data_1.bin
+# nvme wdc vs-internal-log /dev/nvme0 -d 3 -f 0x1000000 -t 0x1000000 -o /tmp/sn340_dui_data_2.bin
+# nvme wdc vs-internal-log /dev/nvme0 -d 3 -f 0x1000000 -t 0x2000000 -o /tmp/sn340_dui_data_3.bin
+------------
 
 NVME
 ----