1NVME-ID-NVMSET(1)                 NVMe Manual                NVME-ID-NVMSET(1)
2
3
4

NAME

6       nvme-id-nvmset - Send NVMe Identify NVM Set List, return result and
7       structure
8

SYNOPSIS

10       nvme id-nvmset <device> [-i <id> | --nvmset_id=<id> ]
11                               [-o <fmt> | --output-format=<fmt>]
12

DESCRIPTION

14       For the NVMe device given, sends an identify NVM set list command and
15       provides the result and returned structure.
16
17       The <device> parameter is mandatory and may be either the NVMe
18       character device (ex: /dev/nvme0), or a namespace block device (ex:
19       /dev/nvme0n1).
20
21       On success, the structure may be returned in one of several ways
22       depending on the option flags; the structure may be parsed by the
23       program or the raw buffer may be printed to stdout.
24

OPTIONS

26       -i <id>, --nvmset_id=<id>
27           This field specifies the identifier of the NVM Set. If given, NVM
28           set identifier whose entry is to be in result data will be greater
29           than or equal to this value.
30
31       -o <format>, --output-format=<format>
32           Set the reporting format to normal, json, or binary. Only one
33           output format can be used at a time.
34

EXAMPLES

36       ·   Has the program interpret the returned buffer and display the known
37           fields in a human readable format:
38
39               # nvme id-nvmset /dev/nvme0
40
41       ·   Have the program return the raw structure in binary:
42
43               # nvme id-nvmset /dev/nvme0 --output-format=binary > id_nvmset.raw
44               # nvme id-nvmset /dev/nvme0 -o binary > id_nvmset.raw
45
46           It is probably a bad idea to not redirect stdout when using this
47           mode.
48
49       ·   Alternatively you may want to send the data to another program that
50           can parse the raw buffer.
51
52               # nvme id-nvmset /dev/nvme0 -o binary | nvme_parse_id_nvmset
53
54           The parse program in the above example can be a program that shows
55           the structure in a way you like. The following program is such an
56           example that will parse it and can accept the output through a
57           pipe, '|', as shown in the above example, or you can 'cat' a saved
58           output buffer to it.
59
60           NVME
61
62       Part of the nvme-user suite
63
64
65
66NVMe                              06/15/2018                 NVME-ID-NVMSET(1)
Impressum