UBIFS

UBIFS is an unsorted block image file system. It works on top of UBI (erase block management layer) which itself works on top of memory technology device(MTD) layer.

To use UBIFS, one needs to set  kernel option as built-in or module.

How to mount UBIFS
First, get list of all MTDs $ cat /proc/mtd dev:   size   erasesize  name mtd0: 00040000 00040000 "spl" mtd1: 000c0000 00040000 "2ndbl" mtd2: 00080000 00040000 "kpanic" mtd3: 1fe80000 00040000 "ubipac" Note that some of them cannot be used for mounting. In this case, only  can be used.

Next step is to attach UBI to an MTD.

If UBIFS support is built as module, it's possible to attach in this way: Otherwise: UBI device number 0, total 2042 LEBs (518569984 bytes, 494.5 MiB), available 0 LEBs (0 bytes), LEB size 253952 bytes (248.0 KiB) Now, create mount point and mount the wanted partition When work with partition is over, unmount it and detach a device
 * 1) modprobe ubi mtd=3 mtd=5
 * 1) ubiattach /dev/ubi_ctrl -m 3
 * 1) mkdir -p /mnt/ubifs
 * 2) mount -t ubifs ubi0:system /mnt/ubifs
 * 1) umount /mnt/ubifs
 * 2) ubidetach -m 3