ubiformat专题

ubiformat and nandwrite

轉載自http://www.linux-mtd.infradead.org/faq/ubifs.html   Why do I have to use ubiformat? The first obvious reason is that ubiformat preserves erase counters, so you do not lose your wear-leveling

ubiformat partition(The partition has data in it)

umount /configs/ ubidetach -p /dev/mtd12 #ubidetach -m 12 ubiformat /dev/mtd12 -y ubiattach /dev/ubi_ctrl -m 12 ubimkvol /dev/ubi1 -s 14MiB -N my_ubi_vol mount -t ubifs -o sync /dev/ubi1_0 /configs/