• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# partinfo
2
3
4## Command Function
5
6This command is used to query information about the partitions of a hard disk or SD card identified by the system.
7
8
9## Syntax
10
11partinfo <*dev*inodename_>
12
13
14## Parameters
15
16  **Table 1** Parameter description
17
18| Parameter| Description| Value Range|
19| -------- | -------- | -------- |
20| dev_inodename | Specifies the name of the partition to be queried.| A valid partition name|
21
22
23## Usage Guidelines
24
25None.
26
27
28## Example
29
30Run **partinfo /dev/mmcblk0p0**.
31
32
33## Output
34
35System partition information:
36
37
38```
39OHOS # partinfo /dev/mmcblk0p0
40part info :
41disk id          : 0
42part_id in system: 1
43part no in disk  : 0
44part no in mbr   : 0
45part filesystem  : 00
46part sec start   : 20480
47part sec count   : 102400
48```
49