From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.nokia.com ([192.100.122.233] helo=mgw-mx06.nokia.com) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1LovoR-0000ud-MT for linux-mtd@lists.infradead.org; Wed, 01 Apr 2009 08:28:50 +0000 Subject: Re: [patch/rfc 2.6.29 1/2] MTD: driver model updates From: Artem Bityutskiy To: Ricard Wanderlof In-Reply-To: References: <200903260042.42091.david-b@pacbell.net> <200903311418.53772.david-b@pacbell.net> <200904010105.33674.david-b@pacbell.net> Content-Type: text/plain; charset="UTF-8" Date: Wed, 01 Apr 2009 11:28:12 +0300 Message-Id: <1238574492.20906.71.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: David Brownell , Kay Sievers , Linux MTD Reply-To: dedekind@infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2009-04-01 at 10:25 +0200, Ricard Wanderlof wrote: > On Wed, 1 Apr 2009, David Brownell wrote: > > > Erasing an MTD partition may require an ioctl forever. :) > > Well, I can imagine that one actually being accomplished with a simple > write to a sysfs file ... but we might not want to make it that simple. Of course we are talking only about _informational_ interfaces, when MTD provides various information - size, name, type, etc. Of course erasing, marking blocks bad, etc should be implemented as ioctl. -- Best regards, Artem Bityutskiy (Битюцкий Артём)