Skip to content

Instantly share code, notes, and snippets.

Created July 7, 2015 07:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/e5cfbc0a3606d2d35974 to your computer and use it in GitHub Desktop.
Save anonymous/e5cfbc0a3606d2d35974 to your computer and use it in GitHub Desktop.
ubinfo -a (vol_size fixed)
root@:~# ubinfo -a
UBI version: 1
Count of UBI devices: 1
UBI control device major/minor: 10:60
Present UBI devices: ubi0
ubi0
Volumes count: 3
Logical eraseblock size: 126976 bytes, 124.0 KiB
Total amount of logical eraseblocks: 4065 (516157440 bytes, 492.2 MiB)
Amount of available logical eraseblocks: 7 (888832 bytes, 868.0 KiB)
Maximum count of volumes 128
Count of bad physical eraseblocks: 0
Count of reserved physical eraseblocks: 80
Current maximum erase counter value: 2
Minimum input/output unit size: 2048 bytes
Character device major/minor: 251:0
Present volumes: 0, 1, 2
Volume ID: 0 (on ubi0)
Type: dynamic
Alignment: 1
Size: 579 LEBs (73519104 bytes, 70.1 MiB)
State: OK
Name: rootfs_a
Character device major/minor: 251:1
-----------------------------------
Volume ID: 1 (on ubi0)
Type: dynamic
Alignment: 1
Size: 579 LEBs (73519104 bytes, 70.1 MiB)
State: OK
Name: rootfs_b
Character device major/minor: 251:2
-----------------------------------
Volume ID: 2 (on ubi0)
Type: dynamic
Alignment: 1
Size: 2816 LEBs (357564416 bytes, 341.0 MiB)
State: OK
Name: configuration
Character device major/minor: 251:3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment