I've found an old discussion, that references following commits (mtd: add BLKPG API based repartition support) and also this patch https://patchwork.ozlabs.org/patch/60224/. What user space tool can I use to repartition my NAND flash? There is no "master" /dev/mtdblock device, that I can pass to fdisk or do I see it wrong? Regards, Yegor