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

hujianyang hujianyang at huawei.com
Sun Nov 30 17:45:17 PST 2014


On 2014/11/27 22:32, Artem Bityutskiy wrote:
> 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.
> 

Got it~!




More information about the linux-mtd mailing list