partition
Command Function
This command is used to query flash partition information.
Syntax
partition [nand / spinor]
Parameters
Table 1 Parameter description
Usage
- The partition command is used to query flash partition information.
- The NAND flash partition information can be queried only when the Yet Another Flash File System (YAFFS) is enabled. The SPI NOR flash partition information can be queried only when the Journaling Flash File System (JFFS) or ROM filesystem (romfs) is enabled.
Example
Run partition spinor.
Output
SPI NOR flash partition information:
OHOS # partition spinor
spinor partition num:0, blkdev name:/dev/spinorblk0, mountpt:/, startaddr:0x00500000, length:0x00a00000