1# mount<a name="EN-US_TOPIC_0000001134006264"></a> 2 3- [Command Function](#section11631837182) 4- [Syntax](#section1697638111820) 5- [Parameters](#section1650151221819) 6- [Usage](#section124541520171912) 7- [Example](#section7424625171917) 8- [Output](#section14757018116) 9 10## Command Function<a name="section11631837182"></a> 11 12This command is used to mount a device to a specified directory. 13 14## Syntax<a name="section1697638111820"></a> 15 16mount <_device_\> <_path_\> <_name_\> \[_uid gid_\] 17 18## Parameters<a name="section1650151221819"></a> 19 20**Table 1** Parameter description 21 22<a name="table1338mcpsimp"></a> 23<table><thead align="left"><tr id="row1344mcpsimp"><th class="cellrowborder" valign="top" width="21%" id="mcps1.2.4.1.1"><p id="p1346mcpsimp"><a name="p1346mcpsimp"></a><a name="p1346mcpsimp"></a><strong id="b84913249612"><a name="b84913249612"></a><a name="b84913249612"></a>Parameter</strong></p> 24</th> 25<th class="cellrowborder" valign="top" width="52%" id="mcps1.2.4.1.2"><p id="p1348mcpsimp"><a name="p1348mcpsimp"></a><a name="p1348mcpsimp"></a><strong id="b1136292612616"><a name="b1136292612616"></a><a name="b1136292612616"></a>Description</strong></p> 26</th> 27<th class="cellrowborder" valign="top" width="27%" id="mcps1.2.4.1.3"><p id="p1350mcpsimp"><a name="p1350mcpsimp"></a><a name="p1350mcpsimp"></a><strong id="b4385271067"><a name="b4385271067"></a><a name="b4385271067"></a>Value Range</strong></p> 28</th> 29</tr> 30</thead> 31<tbody><tr id="row1351mcpsimp"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.2.4.1.1 "><p id="p1353mcpsimp"><a name="p1353mcpsimp"></a><a name="p1353mcpsimp"></a>device</p> 32</td> 33<td class="cellrowborder" valign="top" width="52%" headers="mcps1.2.4.1.2 "><p id="p1355mcpsimp"><a name="p1355mcpsimp"></a><a name="p1355mcpsimp"></a>Specifies the path of the device to be mounted. The format is the path of the device.</p> 34</td> 35<td class="cellrowborder" valign="top" width="27%" headers="mcps1.2.4.1.3 "><p id="p1357mcpsimp"><a name="p1357mcpsimp"></a><a name="p1357mcpsimp"></a>A device in the system</p> 36</td> 37</tr> 38<tr id="row1358mcpsimp"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.2.4.1.1 "><p id="p1360mcpsimp"><a name="p1360mcpsimp"></a><a name="p1360mcpsimp"></a>path</p> 39</td> 40<td class="cellrowborder" valign="top" width="52%" headers="mcps1.2.4.1.2 "><p id="p1362mcpsimp"><a name="p1362mcpsimp"></a><a name="p1362mcpsimp"></a>Specifies the directory of the device.</p> 41<p id="p1363mcpsimp"><a name="p1363mcpsimp"></a><a name="p1363mcpsimp"></a>You must have the execution (search) permission for the specified directory.</p> 42</td> 43<td class="cellrowborder" valign="top" width="27%" headers="mcps1.2.4.1.3 "><p id="p1365mcpsimp"><a name="p1365mcpsimp"></a><a name="p1365mcpsimp"></a>N/A</p> 44</td> 45</tr> 46<tr id="row1366mcpsimp"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.2.4.1.1 "><p id="p1368mcpsimp"><a name="p1368mcpsimp"></a><a name="p1368mcpsimp"></a>name</p> 47</td> 48<td class="cellrowborder" valign="top" width="52%" headers="mcps1.2.4.1.2 "><p id="p1370mcpsimp"><a name="p1370mcpsimp"></a><a name="p1370mcpsimp"></a>Specifies the file system type.</p> 49</td> 50<td class="cellrowborder" valign="top" width="27%" headers="mcps1.2.4.1.3 "><p id="p1372mcpsimp"><a name="p1372mcpsimp"></a><a name="p1372mcpsimp"></a>vfat, yaffs, jffs, ramfs, nfs, procfs, romfs</p> 51</td> 52</tr> 53<tr id="row138821392219"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.2.4.1.1 "><p id="p15883891213"><a name="p15883891213"></a><a name="p15883891213"></a>uid gid</p> 54</td> 55<td class="cellrowborder" valign="top" width="52%" headers="mcps1.2.4.1.2 "><p id="p158834917217"><a name="p158834917217"></a><a name="p158834917217"></a><strong id="b1647703019395"><a name="b1647703019395"></a><a name="b1647703019395"></a>uid</strong> indicates the user ID.</p> 56<p id="p18500185615215"><a name="p18500185615215"></a><a name="p18500185615215"></a><strong id="b13341343114017"><a name="b13341343114017"></a><a name="b13341343114017"></a>gid</strong> indicates the group ID.</p> 57<p id="p519052614387"><a name="p519052614387"></a><a name="p519052614387"></a>This parameter is optional. The default values are <strong id="b586915244111"><a name="b586915244111"></a><a name="b586915244111"></a>uid:0</strong> and <strong id="b1471656417"><a name="b1471656417"></a><a name="b1471656417"></a>gid:0</strong>.</p> 58</td> 59<td class="cellrowborder" valign="top" width="27%" headers="mcps1.2.4.1.3 "><p id="p178835919211"><a name="p178835919211"></a><a name="p178835919211"></a>N/A</p> 60</td> 61</tr> 62</tbody> 63</table> 64 65## Usage<a name="section124541520171912"></a> 66 67By specifying the device to be mounted, directory, and file system format in the **mount** command, you can successfully mount the file system to the specified directory. 68 69## Example<a name="section7424625171917"></a> 70 71Run **mount /dev/mmcblk0p0 /bin1/vs/sd vfat**. 72 73## Output<a name="section14757018116"></a> 74 75Mounting **/dev/mmcblk0p0** to the **/bin1/vs/sd** directory 76 77 78 79