From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [PATCH] mtdoops: allow MTD selection by name From: Artem Bityutskiy To: David Woodhouse In-Reply-To: <1234872527.17790.259.camel@localhost.localdomain> References: <4999928F.1010304@nokia.com> <1234872527.17790.259.camel@localhost.localdomain> Content-Type: text/plain; charset="UTF-8" Date: Thu, 05 Mar 2009 12:27:50 +0200 Message-Id: <1236248870.4261.85.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: linux-mtd Mailing List , Adrian Hunter , Viktor Rosendahl Reply-To: dedekind@infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2009-02-17 at 14:08 +0200, Artem Bityutskiy wrote: > On Mon, 2009-02-16 at 18:21 +0200, Adrian Hunter wrote: > > MTD's have both an index number and a name. Formerly, > > the MTD selected for mtdoops was done only by index > > number. With this patch, a name can be used instead. > > > > For example, the kernel command line: > > > > console=ttyMTD5 > > > > selects MTD 5 for mtdoops. But now this is also possible: > > > > console=ttyMTD,log > > > > which selects the MTD named "log" for mtdoops. > > > > This has the advantage that partitions can be added or > > removed that would affect the MTD index number but not the > > name, without having to then change the kernel command line. > > > > Signed-off-by: Adrian Hunter > > Acked-by: Artem Bityutskiy David, would you please push this patch ? -- Best regards, Artem Bityutskiy (Битюцкий Артём)