From: Richard Weinberger <richard@nod.at>
To: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>,
dedekind1@gmail.com, computersforpeace@gmail.com
Cc: linux-mtd@lists.infradead.org
Subject: Re: [RFC PATCH 00/27] Introduce ubifs_dump in ubifs-utils
Date: Thu, 17 Sep 2015 23:21:46 +0200 [thread overview]
Message-ID: <55FB2EEA.2010606@nod.at> (raw)
In-Reply-To: <55FA5220.3070402@cn.fujitsu.com>
Am 17.09.2015 um 07:39 schrieb Dongsheng Yang:
> On 09/16/2015 09:32 PM, Richard Weinberger wrote:
>> Yang,
>>
>> Am 19.08.2015 um 10:39 schrieb Dongsheng Yang:
>>> Hi Atem, Richard and Brian,
>>> This patchset introduce a userspace tool named ubifs_dump
>>> to dump data from a ubi media.
>>> It will dump the areas in ubifs, such as super block,
>>> master, log, lpt and main.
>>> That's helpful for us to see what exactly written in
>>> media.
>>> the [1/patch] is a RESEND patch, it restructures the mtd-utils.
>>> Please Brian help to take a look at it. thanx a lot. :)
>>>
>>> NOTE:
>>> This patch set depends on a patch I sent out [ubifs: correct the size of nnode in memset]
>>> But you can get a full code at:
>>> https://github.com/yangdongsheng/mtd-utils.git ubifs_dump_v1
>>
>> I'm looking/testing right now your patches.
>> Your tools is useful. I like the idea, maybe the can change the name to
>> "ubifs_dump_meta"? Do you have plans to extend it?
> Hi Richard,
>
> ubifs_dump_meta? Hmmm, but I also dump data nodes in it. Do you have
> some reason to rename it? Extend it? Of course, I would like to make it
> better and better. But the first step is making it in mtd-utils.
You are right.
Let's keep the name. It does the same as jffs2dump.
>> I'm asking because I've started working on an ubifs.fsck/debugfs tool based on
>> some scripts and hacky other tools I wrote some time ago.
>> So, let's coordinate and avoid double work.
>
> Oh, sorry for sending my patch without any asking. I thought there is
> nobody caring about it. And what's more, I am planning to do a fsck.ubifs
> actually. Haha, so I think we can cooperate on it. Could you share more
> about your work so far?
It started as a simple tool to unpack UBIFS.
As unpacking involves also analyzing the whole file system we can extend
it to repair problems.
The first version will only be able to repair minor issue but I hope
we can add more advanced features step by step.
>>
>> It's first feature is being able to extract all files from an UBIFS.
>> Scanning and identifying all UBIFS nodes, as your tool does, is a subset
>> of the needed functionality. As you sent patches first I'll happily rebase
>> my tool to your patches.
>
> Thanx a lot. :)
>> One of the major differences is that it will work without the UBI/UBIFS kernel
>> modules. You can use /dev/ubiXY or a plain nanddump.
>> I hope I can release the first version soon.
>
> Yea, sounds very interesting, although I am not sure how it can be
> implemented. Looking forward your release.
You mean using a plain nanddump? It is not that hard, all you need is a "mini-UBI"
implementation. My current UBIFS unpacker works so far only with nanddumps.
It's the only thing I get from customers, nobody sends me an UBIFS only image. :D
Thanks,
//richard
next prev parent reply other threads:[~2015-09-17 21:22 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-19 8:39 [RFC PATCH 00/27] Introduce ubifs_dump in ubifs-utils Dongsheng Yang
2015-08-19 8:39 ` [PATCH 01/27] mtd-utils: Restructure the mtd-utils source Dongsheng Yang
2015-08-19 8:39 ` [PATCH 02/27] ubifs: pick some common definitions into ubifs_common.h Dongsheng Yang
2015-08-19 8:39 ` [PATCH 03/27] ubifs: move the all io related code into io.[h|c] Dongsheng Yang
2015-08-19 8:39 ` [PATCH 04/27] ubifs: remove the including of mkfs.ubifs.h in lpt.c Dongsheng Yang
2015-08-19 8:39 ` [PATCH 05/27] ubifs: cut off the dependence from compr.o to mkfs.ubifs Dongsheng Yang
2015-08-19 8:39 ` [PATCH 06/27] ubifs: cut off the dependence from devtable to mkfs.ubifs.h Dongsheng Yang
2015-08-19 8:39 ` [PATCH 07/27] ubifs: introduce ubifs-utils/include and ubifs-utils/lib Dongsheng Yang
2015-08-19 8:39 ` [PATCH 08/27] ubifs: move more functions into io lib Dongsheng Yang
2015-08-19 8:39 ` [PATCH 09/27] ubifs: introduce a new tool ubifs_dump Dongsheng Yang
2015-08-19 8:39 ` [PATCH 10/27] ubifs: introduce list.h Dongsheng Yang
2015-10-07 20:41 ` Richard Weinberger
2015-10-08 0:02 ` Dongsheng Yang
2015-08-19 8:39 ` [PATCH 11/27] ubifs: copy some important data in ubifs.h from kernel to ubifs-utils Dongsheng Yang
2015-08-19 8:39 ` [PATCH 12/27] ubifs: copy some important functions in key.h " Dongsheng Yang
2015-08-19 8:39 ` [PATCH 13/27] ubifs: ubifs_dump: add dump_ch and dump_node functions Dongsheng Yang
2015-08-19 8:39 ` [PATCH 14/27] ubifs: defs.h: introduce some compatible definition for printk class Dongsheng Yang
2015-08-19 8:39 ` [PATCH 15/27] ubifs: io: introduce ubifs_read function to read ubi volume Dongsheng Yang
2015-08-19 8:39 ` [PATCH 16/27] ubifs: ubifs_dump: dump super block Dongsheng Yang
2015-08-19 8:39 ` [PATCH 17/27] ubifs: introduce scan for ubifs-utils Dongsheng Yang
2015-08-19 8:39 ` [PATCH 18/27] ubifs: add some more compatible definitions in defs.h Dongsheng Yang
2015-08-19 8:39 ` [PATCH 19/27] ubifs: ubifs_dump: dump master node Dongsheng Yang
2015-10-08 10:07 ` David Gstir
2015-10-09 3:52 ` Dongsheng Yang
2015-10-09 4:05 ` [PATCH v2] " Dongsheng Yang
2015-10-09 4:06 ` Dongsheng Yang
2015-08-19 8:39 ` [PATCH 20/27] ubifs: ubifs_dump: dump log area Dongsheng Yang
2015-08-19 8:39 ` [PATCH 21/27] ubifs: introduce lprops lib Dongsheng Yang
2015-08-19 8:39 ` [PATCH 22/27] ubifs: lpt: implement functions to scan lpt Dongsheng Yang
2015-08-19 8:39 ` [PATCH 23/27] ubifs: ubifs_dump: dump lpt area Dongsheng Yang
2015-08-19 8:39 ` [PATCH 24/27] ubifs: ubifs_dump: dump index area Dongsheng Yang
2015-09-24 6:25 ` Richard Weinberger
2015-09-24 6:32 ` Dongsheng Yang
2015-09-24 6:46 ` [PATCH v2] " Dongsheng Yang
2015-08-19 8:39 ` [PATCH 25/27] ubifs: defs.h: introduce some compatible definitions about integer such as __u16 Dongsheng Yang
2015-08-19 8:39 ` [PATCH 26/27] ubifs: introduce hexdump lib Dongsheng Yang
2015-08-19 8:39 ` [PATCH 27/27] ubifs: ubifs_dump: dump data in hex format Dongsheng Yang
2015-08-19 8:48 ` [RFC PATCH 00/27] Introduce ubifs_dump in ubifs-utils Dongsheng Yang
2015-08-19 20:45 ` Richard Weinberger
2015-08-20 3:07 ` Dongsheng Yang
2015-09-16 13:32 ` Richard Weinberger
2015-09-17 5:39 ` Dongsheng Yang
2015-09-17 21:21 ` Richard Weinberger [this message]
2015-09-18 2:23 ` Dongsheng Yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55FB2EEA.2010606@nod.at \
--to=richard@nod.at \
--cc=computersforpeace@gmail.com \
--cc=dedekind1@gmail.com \
--cc=linux-mtd@lists.infradead.org \
--cc=yangds.fnst@cn.fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).