From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga02-in.huawei.com ([119.145.14.65]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xk9uc-0001Y1-JB for linux-mtd@lists.infradead.org; Fri, 31 Oct 2014 10:58:35 +0000 Message-ID: <54536AA8.3030403@huawei.com> Date: Fri, 31 Oct 2014 18:55:36 +0800 From: hujianyang MIME-Version: 1.0 To: Subject: Re: [PATCH v5 3/4] ubi-utils: ubidump: introduce ubidump References: <544788DA.9090401@huawei.com> <54478A47.3080102@huawei.com> <1414657165.23185.10.camel@sauron.fi.intel.com> <1414657828.23185.16.camel@sauron.fi.intel.com> <5452F133.2030701@huawei.com> <1414740722.23185.63.camel@sauron.fi.intel.com> In-Reply-To: <1414740722.23185.63.camel@sauron.fi.intel.com> Content-Type: text/plain; charset="UTF-8" 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 2014/10/31 15:32, Artem Bityutskiy wrote: > On Fri, 2014-10-31 at 10:17 +0800, hujianyang wrote: >>> >>> And "-i" / "--info" are not the best names, I think. "-u" / "--ubifs" >>> would be better. >>> >> >> Oh, I'd like to reserve this "--ubifs" when we are ready to dump ubi-level >> stuff. So in my previous design, "--ubifs" and "--ubi" are used to indicate >> only dump the specific area of an eraseblock. >> >> How about an option like "--node" ? Do you insist on "--ubifs" or have >> another suggestion? > > The idea is that you introduce an option, and then you do not change > it's name. So the name should be informative. What is more informative > for "also dump ubifs nodes": --node or --ubifs ? > > You can always add --ubi later. > > For now, if --ubifs is not specified, you should do basically nothing, > because you cannot dump UBI right now. > > Does this make sense for you? > > Artem. > > > I should say it is unfair for me to discuss a problem like this with you. I will follow your idea because I not good at English. Give me some days, I will resend this patch set. I'm happy to see the patch set is thinner than it used to be. Thanks for your help. Happy Halloween:) Hu