Runtime repartitioning
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?
Cheers,
Tim
Hi Tim,
Quoted 9 lines · Tim Cussins
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
Quoted 5 lines
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
Quoted 26 lines · Brian Norris
Hi Tim,
Quoted 9 lines · Tim Cussins
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/30949Quoted 5 lines
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!
Quoted 7 lines
5daa7b21496aebf057c12be03038e7220e33353b
mtd: prepare partition add and del functions for ioctl requests
d0f7959e2b708d775c3b6b53cc6a8abb8ff0a00b
mtd: add BLKPG API based repartition supportBrian
Hi Brian,
Whoa, they've been in for a while... I was looking in mtd-api.h for ioctls
Thanks heaps,
Tim