1 Star 0 Fork 4.9K

fish / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
mount.md 4.99 KB
一键复制 编辑 原始数据 按行查看 历史
NEEN 提交于 2021-03-12 17:59 . !197 Docs Update version 1.0.1

mount

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

1
https://gitee.com/fish_neil/docs.git
git@gitee.com:fish_neil/docs.git
fish_neil
docs
docs
master

搜索帮助