Create remove resize MTD partitions at runtime...is it possible?

Ico Hristo ico.yankov at gmail.com
Mon Mar 23 08:11:39 EDT 2009


Hello,

I'm trying to find out whether I can create and MTD partition after
the system is loaded. I'm running custom embedded linux on arm9 custom
board, the four MTD partitions are defined in cmdlinepart and the
first one is marked as read-only. The concrete question is whether
it's possilbe and what should I do to create mtd4 that overlaps mtd0
and mtd1 dynamically while the system is up and running (in ramdisk) ?

I've researched the topic and mtd source tree and the best I could do
is create new MTD within the boudries of existing one (this also could
solve my problem, but does not overrides the read-only attribute on
mtd0). Any help would be greatly appreciated.

Best regards,
Hristo Yankov



More information about the linux-mtd mailing list