[PATCH v5 3/4] ubi-utils: ubidump: introduce ubidump

Artem Bityutskiy dedekind1 at gmail.com
Thu Nov 27 06:32:03 PST 2014


On Thu, 2014-11-20 at 17:24 +0800, hujianyang wrote:
> /tmp# ./ubidump /dev/ubi0_0 --lnum 0
> scan LEB 0:0
> look at LEB 0:0 (126976 bytes left)
> scanning superblock node at LEB 0:0
> look at LEB 0:4096 (122880 bytes left)
> hit empty space at LEB 0:4096
> stop scanning LEB 0 at offset 126976

Just do not introduce any options at all. Print all you can right away.

Let's say: no options means auto-detect everything and print everything.
Since all you can do right now is to dump UBIFS stuff, just do it.

If someone needs more - they will have to start adding options.

> By the way, I've replied the mail
> 
> "UBIFS assert failed in ubifs_set_page_dirty at 1421"
> 
> reported by jijiagang at hisilicon.com but mm people do not response.
> 
> http://lists.infradead.org/pipermail/linux-mtd/2014-November/056378.html
> 
> I will change some mm code and test if it works, do you have any
> suggestions about this?

It looks like mm people are not going to help.. I do not have time to
debug this. You can try implementing the merge handler, or debug this
further.




More information about the linux-mtd mailing list