summaryrefslogtreecommitdiffstats
path: root/Documentation/nvme-get-ns-id.txt
blob: 8516cb89a28703c868ba0f6be23b81bddc96cb69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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> [--output-format=<fmt> | -o <fmt>] [--verbose | -v]

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
-------
-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
--------
* Shows the namespace id for the given block device:
+
------------
# nvme get-ns-id /dev/nvme0n1
------------

NVME
----
Part of the nvme-user suite