1 Star 0 Fork 5K

RainSpeed / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
kernel-small-debug-shell-file-partinfo.md 2.23 KB
一键复制 编辑 原始数据 按行查看 历史
Annie_wang 提交于 2022-05-19 22:02 . update docs

partinfo

Command Function

This command is used to query information about the partitions of a hard disk or SD card identified by the system.

Syntax

partinfo <dev_inodename>

Parameters

Table 1 Parameter description

Parameter

Description

Value Range

dev_inodename

Specifies the name of the partition to be queried.

A valid partition name

Usage

None

Example

Run partinfo /dev/mmcblk0p0.

Output

System partition information:

OHOS # partinfo /dev/mmcblk0p0
part info :
disk id          : 0
part_id in system: 1
part no in disk  : 0
part no in mbr   : 0
part filesystem  : 00
part sec start   : 20480
part sec count   : 102400
1
https://gitee.com/rainspeed/docs.git
git@gitee.com:rainspeed/docs.git
rainspeed
docs
docs
master

搜索帮助