ubifs使用记录

2022-07-29, updated 2022-07-31

分区表

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00140000 00020000 "sbl"
mtd1: 00140000 00020000 "mibib"
mtd2: 00b00000 00020000 "efs2"
mtd3: 00140000 00020000 "tz"
mtd4: 00100000 00020000 "devcfg"
mtd5: 00100000 00020000 "apdp"
mtd6: 00100000 00020000 "rpm"
mtd7: 00700000 00020000 "backup"
mtd8: 00800000 00020000 "idh"
mtd9: 00180000 00020000 "aboot"
mtd10: 00b00000 00020000 "boot"
mtd11: 00e00000 00020000 "scrub"
mtd12: 02800000 00020000 "modem"
mtd13: 00080000 00020000 "misc"
mtd14: 00980000 00020000 "recovery"
mtd15: 02180000 00020000 "recoveryfs"
mtd16: 00080000 00020000 "sec"
mtd17: 070c0000 00020000 "system"

查看ubi对应的mtd分区

1
2
# cat /sys/devices/virtual/ubi/ubi0/mtd_num
15
words: 121 tags: