# mount - [Command Function](#section11631837182) - [Syntax](#section1697638111820) - [Parameter Description](#section1650151221819) - [Usage](#section124541520171912) - [Example](#section7424625171917) - [Output](#section14757018116) ## Command Function This command is used to mount a device to a specified directory. ## Syntax mount <_device_\> <_path_\> <_name_\> \[_uid gid_\] ## Parameter Description **Table 1** Parameters

Parameter

Description

Value Range

device

Indicates the path of the device to be mounted. The format is the path of the device.

A device in the system

path

Indicates the directory of the device.

The user must have the execution (search) permission for the specified directory.

N/A

name

Indicates the file system type.

vfat, yaffs, jffs, ramfs, nfs, procfs, romfs

uid gid

uid indicates the user ID.

gid indicates the group ID.

This parameter is optional. The default values are uid:0 and gid:0.

N/A

## Usage By 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. ## Example Enter **mount /dev/mmcblk0p0 /bin1/vs/sd vfat**. ## Output Mounting **/dev/mmcblk0p0** to the **/bin1/vs/sd** directory ![](figure/en-us_image_0000001051690323.png)