Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /$ cat /proc/mtd
- dev: size erasesize name
- mtd0: 05f00000 00020000 "rootfs"
- mtd1: 05f00000 00020000 "rootfs_update"
- mtd2: 00800000 00020000 "data"
- mtd3: 00100000 00020000 "nvram"
- mtd4: 05f00000 00020000 "image_update"
- mtd5: 05f00000 00020000 "image"
- mtd6: 10000000 00020000 "dummy1"
- mtd7: 10000000 00020000 "dummy2"
- mtd8: 00100000 00020000 "misc3"
- mtd9: 02f00000 00020000 "misc2"
- mtd10: 00800000 00020000 "misc1"
- mtd11: 05619000 0001f000 "rootfs_ubifs"
- mtd12: 0001f000 0001f000 "METADATA"
- mtd13: 0001f000 0001f000 "METADATACOPY"
- mtd14: 00356bbd 0001f000 "filestruct_full.bin"
- mtd15: 006c8000 0001f000 "data"
- /$ ubiattach /dev/ubi_ctrl -m 10
- ubiattach: error!: cannot attach mtd10
- error 22 (Invalid argument)
- /$ ubinfo -a
- UBI version: 1
- Count of UBI devices: 2
- UBI control device major/minor: 10:59
- Present UBI devices: ubi0, ubi1
- ubi0
- Volumes count: 4
- Logical eraseblock size: 126976 bytes, 124.0 KiB
- Total amount of logical eraseblocks: 760 (96501760 bytes, 92.0 MiB)
- Amount of available logical eraseblocks: 0 (0 bytes)
- Maximum count of volumes 128
- Count of bad physical eraseblocks: 0
- Count of reserved physical eraseblocks: 15
- Current maximum erase counter value: 1
- Minimum input/output unit size: 2048 bytes
- Character device major/minor: 252:0
- Present volumes: 0, 1, 2, 10
- Volume ID: 0 (on ubi0)
- Type: dynamic
- Alignment: 1
- Size: 711 LEBs (90279936 bytes, 86.0 MiB)
- State: OK
- Name: rootfs_ubifs
- Character device major/minor: 252:1
- -----------------------------------
- Volume ID: 1 (on ubi0)
- Type: dynamic
- Alignment: 1
- Size: 1 LEBs (126976 bytes, 124.0 KiB)
- State: OK
- Name: METADATA
- Character device major/minor: 252:2
- -----------------------------------
- Volume ID: 2 (on ubi0)
- Type: dynamic
- Alignment: 1
- Size: 1 LEBs (126976 bytes, 124.0 KiB)
- State: OK
- Name: METADATACOPY
- Character device major/minor: 252:3
- -----------------------------------
- -----------------------------------
- -----------------------------------
- -----------------------------------
- -----------------------------------
- -----------------------------------
- -----------------------------------
- -----------------------------------
- Volume ID: 10 (on ubi0)
- Type: static
- Alignment: 1
- Size: 28 LEBs (3555328 bytes, 3.3 MiB)
- Data bytes: 3500989 bytes (3.3 MiB)
- State: OK
- Name: filestruct_full.bin
- Character device major/minor: 252:11
- ===================================
- ubi1
- Volumes count: 1
- Logical eraseblock size: 126976 bytes, 124.0 KiB
- Total amount of logical eraseblocks: 64 (8126464 bytes, 7.7 MiB)
- Amount of available logical eraseblocks: 0 (0 bytes)
- Maximum count of volumes 128
- Count of bad physical eraseblocks: 0
- Count of reserved physical eraseblocks: 4
- Current maximum erase counter value: 24
- Minimum input/output unit size: 2048 bytes
- Character device major/minor: 251:0
- Present volumes: 0
- Volume ID: 0 (on ubi1)
- Type: dynamic
- Alignment: 1
- Size: 56 LEBs (7110656 bytes, 6.7 MiB)
- State: OK
- Name: data
- Character device major/minor: 251:1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement