harmony 鸿蒙partinfo

  • 2022-08-09
  • 浏览 (761)

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 Guidelines

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

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Kernel

harmony 鸿蒙Kernel Coding Specification

harmony 鸿蒙Standard Libraries

harmony 鸿蒙Interrupt Management

harmony 鸿蒙Event

harmony 鸿蒙Mutex

harmony 鸿蒙Queue

harmony 鸿蒙Semaphore

harmony 鸿蒙Doubly Linked List

harmony 鸿蒙Memory Management

0  赞