[PATCH v5 1/4] ubi-utils: ubidump: add ubifs-media

Artem Bityutskiy dedekind1 at gmail.com
Thu Oct 30 00:51:35 PDT 2014


On Wed, 2014-10-22 at 18:37 +0800, hujianyang wrote:
> This is a preparatory patch for ubidump, an utility to print on-media
> format of UBIFS partitions. This patch contains only one file named
> ubifs-media.h which is entirely taken from linux kernel. This file
> descibes the on-flash format of UBIFS objects and helps us to analyse
> the data on the media.
> 
> Note, the start up commit of this file is not a completely copy from
> fs/ubifs/ubifs-media.h in kernel. Only the code which is used by
> ubidump is now presented here.

But we already have ubifs-media.h in the tree, it is in mkfs.ubifs. Just
move it include and re-use. Let's not introduce the 2nd version.





More information about the linux-mtd mailing list