summaryrefslogtreecommitdiffstats
path: root/Documentation/nvme-get-ns-id.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/nvme-get-ns-id.txt')
-rw-r--r--Documentation/nvme-get-ns-id.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/Documentation/nvme-get-ns-id.txt b/Documentation/nvme-get-ns-id.txt
new file mode 100644
index 0000000..5dcdc6d
--- /dev/null
+++ b/Documentation/nvme-get-ns-id.txt
@@ -0,0 +1,32 @@
+nvme-get-ns-id(1)
+=================
+
+NAME
+----
+nvme-get-ns-id - Retrieves the namespace ID for an NVMe block device
+
+SYNOPSIS
+--------
+[verse]
+'nvme get-ns-id' <device>
+
+DESCRIPTION
+-----------
+Retrieves the namespace ID for an NVMe block device. The <device> param
+is mandatory and must be an NVMe block device (ex: /dev/nvme0n1).
+
+OPTIONS
+-------
+None
+
+EXAMPLES
+--------
+* Shows the namespace id for the given block device:
++
+------------
+# nvme get-ns-id /dev/nvme0n1
+------------
+
+NVME
+----
+Part of the nvme-user suite