]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
doc: Add id-ns-granularity command
authorTokunori Ikegami <ikegami.t@gmail.com>
Sat, 21 Oct 2023 00:56:52 +0000 (09:56 +0900)
committerDaniel Wagner <wagi@monom.org>
Thu, 2 Nov 2023 15:52:58 +0000 (16:52 +0100)
Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
Documentation/nvme-id-ns-granularity.txt [new file with mode: 0755]

diff --git a/Documentation/nvme-id-ns-granularity.txt b/Documentation/nvme-id-ns-granularity.txt
new file mode 100755 (executable)
index 0000000..67006c3
--- /dev/null
@@ -0,0 +1,46 @@
+nvme-id-ns-granularity(1)
+=========================
+
+NAME
+----
+nvme-id-ns-granularity - Send a Identify Namespace Granularity List command to
+the specified device
+
+SYNOPSIS
+--------
+[verse]
+'nvme id-ns-granularity' <device>
+                       [--output-format=<fmt> | -o <fmt>] [--verbose | -v]
+
+DESCRIPTION
+-----------
+Send a Identify Namespace Granularity List command command to the specified
+device, return results.
+
+The <device> parameter is mandatory and may be either the NVMe character
+device (ex: /dev/nvme0) or block device (ex: /dev/nvme0n1).
+
+On success it returns 0, error code otherwise.
+
+OPTIONS
+-------
+-o <fmt>::
+--output-format=<fmt>::
+       Set the reporting format to 'normal', 'json' or 'binary'. Only one
+       output format can be used at a time.
+
+-v::
+--verbose::
+       Increase the information detail in the output.
+
+EXAMPLES
+--------
+* Has the program issue a id-ns-granularity to display structure.
++
+------------
+# nvme id-ns-granularity /dev/nvme0
+------------
+
+NVME
+----
+Part of the nvme-user suite.