|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
1 | 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" |
2 | 3 | "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
3 | 4 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
4 | 5 | <head> |
5 | 6 | <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> |
6 | | -<meta name="generator" content="AsciiDoc 8.6.8" /> |
| 7 | +<meta name="generator" content="AsciiDoc 8.6.10" /> |
7 | 8 | <title>nvme-format(1)</title> |
8 | 9 | <style type="text/css"> |
9 | 10 | /* Shared CSS for AsciiDoc xhtml11 and html5 backends */ |
|
94 | 95 | padding: 0; |
95 | 96 | margin: 0; |
96 | 97 | } |
97 | | - |
| 98 | +pre { |
| 99 | + white-space: pre-wrap; |
| 100 | +} |
98 | 101 |
|
99 | 102 | #author { |
100 | 103 | color: #527bbd; |
|
223 | 226 | } |
224 | 227 |
|
225 | 228 | div.imageblock div.content { padding-left: 0; } |
226 | | -span.image img { border-style: none; } |
| 229 | +span.image img { border-style: none; vertical-align: text-bottom; } |
227 | 230 | a.image:visited { color: white; } |
228 | 231 |
|
229 | 232 | dl { |
@@ -766,11 +769,13 @@ <h2 id="_description">DESCRIPTION</h2> |
766 | 769 | and provides the results.</p></div> |
767 | 770 | <div class="paragraph"><p>The <device> parameter is mandatory and may be either the NVMe character |
768 | 771 | device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1). |
769 | | -If the character device is given, the namespace identifier will default |
770 | | -to 0xffffffff to send the format to all namespace, but can be overridden |
771 | | -to any namespace with the <em>namespace-id</em> option. If the block device |
772 | | -is given, the namespace identifier will default to the namespace id of |
773 | | -the block device given, but can be overridden with the same option.</p></div> |
| 772 | +If the character device is given, and the controller does not support |
| 773 | +formatting of particular namespaces (ID_CTRL.FNA bit 0 enabled), then all |
| 774 | +namespaces will be formatted. If FNA is disabled, then the namespace |
| 775 | +identifier must be specified with the <em>namespace-id</em> option; specify a |
| 776 | +value of 0xffffffff to send the format to all namespaces. If the block |
| 777 | +device is given, the namespace identifier will default to the namespace |
| 778 | +ID of the block device given, but can be overridden with the same option.</p></div> |
774 | 779 | <div class="paragraph"><p>Note, the numeric suffix on the character device, for example the <em>0</em> in |
775 | 780 | /dev/nvme0, does NOT indicate this device handle is the parent controller |
776 | 781 | of any namespaces with the same suffix. The namespace handle’s numeral |
@@ -799,7 +804,7 @@ <h2 id="_options">OPTIONS</h2> |
799 | 804 | <p> |
800 | 805 | Send the format command for the specified nsid. This can be |
801 | 806 | used to override the default value for either character device |
802 | | - (0xffffffff) or the block device (result from NVME_IOCTL_ID). |
| 807 | + (unspecified) or the block device (result from NVME_IOCTL_ID). |
803 | 808 | </p> |
804 | 809 | </dd> |
805 | 810 | <dt class="hdlist1"> |
@@ -1020,7 +1025,8 @@ <h2 id="_nvme">NVME</h2> |
1020 | 1025 | <div id="footnotes"><hr /></div> |
1021 | 1026 | <div id="footer"> |
1022 | 1027 | <div id="footer-text"> |
1023 | | -Last updated 2019-05-16 09:47:03 MDT |
| 1028 | +Last updated |
| 1029 | + 2019-07-28 09:33:55 IDT |
1024 | 1030 | </div> |
1025 | 1031 | </div> |
1026 | 1032 | </body> |
|
0 commit comments