Skip to content

Commit 9705407

Browse files
committed
doc: add nvme list namespace usage sizes description
The sizes are printed with SI prefixes. Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
1 parent 19edb52 commit 9705407

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

Documentation/nvme-list.txt

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ DESCRIPTION
1414
-----------
1515
Scan the sysfs tree for NVM Express devices and return the /dev node
1616
for those devices as well as some pertinent information about them.
17+
Namespace usage printed in powers of 1,000 with SI prefixes. (e.g., 1.02 TB)
1718

1819
OPTIONS
1920
-------
@@ -34,7 +35,31 @@ PCI_IDS_PATH - Full path of pci.ids file in case nvme could not find it in commo
3435

3536
EXAMPLES
3637
--------
37-
No examples yet.
38+
* Has the program issue a list
39+
+
40+
------------
41+
# nvme list
42+
Node Generic SN Model Namespace Usage Format FW Rev
43+
--------------------- --------------------- -------------------- ---------------------------------------- ---------- -------------------------- ---------------- --------
44+
/dev/nvme0n1 /dev/ng0n1 BTNH922508PS1P0B INTEL SSDPEKNW010T8 0x1 1.02 TB / 1.02 TB 512 B + 0 B 002C
45+
------------
46+
47+
* Has the program issue a list with verbose
48+
+
49+
------------
50+
# nvme list -v
51+
Subsystem Subsystem-NQN Controllers
52+
---------------- ------------------------------------------------------------------------------------------------ ----------------
53+
nvme-subsys0 nqn.2019-22.com.intel:nvm-subsystem-sn-btnh922508ps1p0b nvme0
54+
55+
Device Cntlid SN MN FR TxPort Address Slot Subsystem Namespaces
56+
---------------- ------ -------------------- ---------------------------------------- -------- ------ -------------- ------ ------------ ----------------
57+
nvme0 1 BTNH922508PS1P0B INTEL SSDPEKNW010T8 002C pcie 0000:0d:00.0 nvme-subsys0 nvme0n1
58+
59+
Device Generic NSID Usage Format Controllers
60+
----------------- ----------------- ---------- -------------------------- ---------------- ----------------
61+
/dev/nvme0n1 /dev/ng0n1 0x1 1.02 TB / 1.02 TB 512 B + 0 B nvme0
62+
------------
3863

3964
NVME
4065
----

0 commit comments

Comments
 (0)