# mount - [Command Function](#section11631837182) - [Syntax](#section1697638111820) - [Parameters](#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_\] ## Parameters **Table 1** Parameter description

Parameter

Description

Value Range

device

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

A device in the system

path

Specifies the directory of the device.

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

N/A

name

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