1# partition<a name="EN-US_TOPIC_0000001179965851"></a> 2 3- [Command Function](#section255095212257) 4- [Syntax](#section10258056122515) 5- [Parameters](#section177200581256) 6- [Usage](#section17866411262) 7- [Example](#section1927174202610) 8- [Output](#section11321011223) 9 10## Command Function<a name="section255095212257"></a> 11 12This command is used to query flash partition information. 13 14## Syntax<a name="section10258056122515"></a> 15 16partition \[_nand / spinor_\] 17 18## Parameters<a name="section177200581256"></a> 19 20**Table 1** Parameter description 21 22<a name="table1425mcpsimp"></a> 23<table><thead align="left"><tr id="row1431mcpsimp"><th class="cellrowborder" valign="top" width="21%" id="mcps1.2.4.1.1"><p id="p1433mcpsimp"><a name="p1433mcpsimp"></a><a name="p1433mcpsimp"></a><strong id="b194783171311544"><a name="b194783171311544"></a><a name="b194783171311544"></a>Parameter</strong></p> 24</th> 25<th class="cellrowborder" valign="top" width="52%" id="mcps1.2.4.1.2"><p id="p1435mcpsimp"><a name="p1435mcpsimp"></a><a name="p1435mcpsimp"></a><strong id="b207813185121"><a name="b207813185121"></a><a name="b207813185121"></a>Description</strong></p> 26</th> 27<th class="cellrowborder" valign="top" width="27%" id="mcps1.2.4.1.3"><p id="p1437mcpsimp"><a name="p1437mcpsimp"></a><a name="p1437mcpsimp"></a><strong id="b133141469711544"><a name="b133141469711544"></a><a name="b133141469711544"></a>Value Range</strong></p> 28</th> 29</tr> 30</thead> 31<tbody><tr id="row1438mcpsimp"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.2.4.1.1 "><p id="p1440mcpsimp"><a name="p1440mcpsimp"></a><a name="p1440mcpsimp"></a>nand</p> 32</td> 33<td class="cellrowborder" valign="top" width="52%" headers="mcps1.2.4.1.2 "><p id="p1442mcpsimp"><a name="p1442mcpsimp"></a><a name="p1442mcpsimp"></a>Displays information about the NAND flash partition.</p> 34</td> 35<td class="cellrowborder" valign="top" width="27%" headers="mcps1.2.4.1.3 "><p id="p1444mcpsimp"><a name="p1444mcpsimp"></a><a name="p1444mcpsimp"></a>N/A</p> 36</td> 37</tr> 38<tr id="row1445mcpsimp"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.2.4.1.1 "><p id="p1447mcpsimp"><a name="p1447mcpsimp"></a><a name="p1447mcpsimp"></a>spinor</p> 39</td> 40<td class="cellrowborder" valign="top" width="52%" headers="mcps1.2.4.1.2 "><p id="p1449mcpsimp"><a name="p1449mcpsimp"></a><a name="p1449mcpsimp"></a>Displays information about the spinor flash partition.</p> 41</td> 42<td class="cellrowborder" valign="top" width="27%" headers="mcps1.2.4.1.3 "><p id="p1451mcpsimp"><a name="p1451mcpsimp"></a><a name="p1451mcpsimp"></a>N/A</p> 43</td> 44</tr> 45</tbody> 46</table> 47 48## Usage<a name="section17866411262"></a> 49 50- The **partition** command is used to query flash partition information. 51- The NAND flash partition information can be viewed only when the YAFFS file system is enabled. The spinor flash partition information can be viewed only when the JFFS or ROMFS file system is enabled. 52 53## Example<a name="section1927174202610"></a> 54 55Run **partition spinor**. 56 57## Output<a name="section11321011223"></a> 58 59Viewing spinor flash partition information 60 61 62 63