From fb32fdeba1f428a3f6c30c8951e82f2a2eec23a8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 12 Aug 2021 14:01:09 +0200 Subject: Merging upstream version 1.15. Signed-off-by: Daniel Baumann --- Documentation/nvme-list-ns.html | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) (limited to 'Documentation/nvme-list-ns.html') diff --git a/Documentation/nvme-list-ns.html b/Documentation/nvme-list-ns.html index f88f3e8..c79b81b 100644 --- a/Documentation/nvme-list-ns.html +++ b/Documentation/nvme-list-ns.html @@ -751,7 +751,7 @@ nvme-id-ns(1) Manual Page
nvme list-ns <device> [--namespace-id=<nsid> | -n <nsid>]
                         [--csi=<command_set_identifier> | -y <command_set_identifier>]
-                        [--all | -a]
+ [--all | -a] [--output-format=<fmt> | -o <fmt>]
@@ -808,13 +808,44 @@ a valid nsid.

subsystem, whether attached or inactive.

+
+-o <format> +
+
+--output-format=<format> +
+
+

+ Set the reporting format to normal, or json. + Only one output format can be used at a time. +

+

EXAMPLES

-

No examples yet.

+
    +
  • +

    +Print the namespaces present for zoned command set in JSON format +

    +
    +
    +
    # nvme list-ns /dev/nvme0 -y 2 -a -o json
    +
    +
  • +
  • +

    +Print the namespaces present for NVM Command Set in normal format +

    +
    +
    +
    # nvme list-ns /dev/nvme0
    +
    +
  • +
@@ -828,7 +859,7 @@ a valid nsid.

-- cgit v1.2.3