From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out4.smtp.messagingengine.com ([66.111.4.28]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QX8JF-0003qW-IR for linux-mtd@lists.infradead.org; Thu, 16 Jun 2011 08:52:18 +0000 Message-ID: <4DF9C43C.2060405@eml.cc> Date: Thu, 16 Jun 2011 09:52:12 +0100 From: Tim Cussins MIME-Version: 1.0 To: Brian Norris Subject: Re: Runtime repartitioning References: <4DF78D22.6030101@eml.cc> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "linux-mtd@lists.infradead.org" , Roman Tereshonkov List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 15/06/11 16:44, Brian Norris wrote: > Hi Tim, > > On Tue, Jun 14, 2011 at 9:32 AM, Tim Cussins wrote: >> Hi all, >> >> In July 2010 a couple of competing patchsets were submitted that aimed to >> provide runtime repartitioning of mtd devices. >> >> http://thread.gmane.org/gmane.linux.drivers.mtd/30458 >> http://thread.gmane.org/gmane.linux.drivers.mtd/30950 >> http://thread.gmane.org/gmane.linux.drivers.mtd/30949 >> >> Neither submission was accepted, comments were given on and off list, and >> that was the end of it :) >> >> The ability to create new mtd partitions after boot would be awesome - how >> can I get involved in getting such functionality into the tree? > > It's probably a good idea to at least CC those who worked on this > before...I added Roman Tereshonkov, the one who started the > discussion. > > Anyway, it looks like Roman ended up submitting a revised version of > the patch from the first discussion. His work made it into the kernel > as the following two commits. You can feel free to test it yourself! > > 5daa7b21496aebf057c12be03038e7220e33353b > mtd: prepare partition add and del functions for ioctl requests > > d0f7959e2b708d775c3b6b53cc6a8abb8ff0a00b > mtd: add BLKPG API based repartition support > > Brian Hi Brian, Whoa, they've been in for a while... I was looking in mtd-api.h for ioctls Thanks heaps, Tim