]> www.infradead.org Git - users/hch/nvme-cli.git/commitdiff
Provide documentation for log page directory WDC plugin command
authorJeff Lien <jeff.lien@wdc.com>
Wed, 15 Jan 2020 15:28:09 +0000 (09:28 -0600)
committerKeith Busch <kbusch@kernel.org>
Wed, 22 Jan 2020 18:53:08 +0000 (11:53 -0700)
Documentation/nvme-wdc-log-page-directory.txt [new file with mode: 0644]

diff --git a/Documentation/nvme-wdc-log-page-directory.txt b/Documentation/nvme-wdc-log-page-directory.txt
new file mode 100644 (file)
index 0000000..4d6192f
--- /dev/null
@@ -0,0 +1,43 @@
+nvme-wdc-log-page-directory(1)
+==============================
+
+NAME
+----
+nvme-wdc-log-page-directory - Retrieves the list of Log IDs supported by the drive
+
+SYNOPSIS
+--------
+[verse]
+'nvme wdc log-page-directory' <device> [--output-format=<normal|json|binary> -o <normal|json|binary>]
+
+DESCRIPTION
+-----------
+For the NVMe device given, retrieves the log page directory which contains the list of 
+log page IDs supported by the drive.  The --output-format option will format the output as
+specified.
+
+The <device> parameter is mandatory and must be the NVMe character device (ex: /dev/nvme0).
+
+This will only work on WDC devices supporting this feature.
+Results for any other device are undefined.
+
+On success it returns the log page directory information, error code otherwise.
+
+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. The default is normal.
+
+EXAMPLES
+--------
+* WDC log-page-directory example command :
++
+------------
+# nvme wdc log-page-directory /dev/nvme0
+------------
+
+NVME
+----
+Part of the nvme-user suite.