Received: from mga02.intel.com ([134.134.136.20]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XjkgI-0001iZ-0g for linux-mtd@lists.infradead.org; Thu, 30 Oct 2014 08:02:06 +0000 Message-ID: <1414656102.23185.6.camel@sauron.fi.intel.com> Subject: Re: [PATCH v5 1/4] ubi-utils: ubidump: add ubifs-media From: Artem Bityutskiy Reply-To: dedekind1@gmail.com To: hujianyang Date: Thu, 30 Oct 2014 10:01:42 +0200 In-Reply-To: <544788DA.9090401@huawei.com> References: <544788DA.9090401@huawei.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: Richard Weinberger , linux-mtd , Bill Pringlemeir List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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. I am going to push this patch instead: >From 0614ca6d41fc22bf994f1556b69c017aa676290f Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Thu, 30 Oct 2014 09:55:51 +0200 Subject: [PATCH] Move mkfs.ubifs/ubifs-media.h to include/mtd This file will be shared with the ubidump tool in the future. Signed-off-by: Artem Bityutskiy --- include/mtd/ubifs-media.h | 747 ++++++++++++++++++++++++++++++++++++++++++++++ mkfs.ubifs/README | 1 - mkfs.ubifs/compr.c | 1 - mkfs.ubifs/mkfs.ubifs.h | 3 +- mkfs.ubifs/ubifs-media.h | 747 ---------------------------------------------- 5 files changed, 749 insertions(+), 750 deletions(-) create mode 100644 include/mtd/ubifs-media.h delete mode 100644 mkfs.ubifs/ubifs-media.h ... snip ...