[PATCH v2] mtd-utils: Add nandpart to add/delete partition

Andrea Adami andrea.adami at gmail.com
Fri Mar 6 07:53:13 PST 2015


On Wed, Mar 4, 2015 at 8:24 PM, Brian Norris
<computersforpeace at gmail.com> wrote:
> On Wed, Mar 04, 2015 at 10:51:19AM -0800, Brian Norris wrote:
>> On Wed, Mar 04, 2015 at 10:45:44AM -0800, Daniel Ehrenberg wrote:
>> > On Mon, Feb 9, 2015 at 2:13 PM, Nam T. Nguyen <namnguyen at chromium.org> wrote:
>> > > Add a simple utility to exercise BLKPG ioctl.
>> > >
>> > > Signed-off-by: Nam T. Nguyen <namnguyen at chromium.org>
>> >
>> > Suggestion: rename to flash_part.c . This utility is not
>> > nand-specific, and flash_ is used for general MTD utilities.
>>
>> Agreed.
>
> I'll retract that a bit. I think mtdpart might make more sense.
> (Following after mtdinfo, rather than flash_erase.) And technically, not
> all MTD's are flash.
>
> Brian
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/

While fiddling with BLKPG and mtd, would it be useful to implement
BLKPG_RESIZE_PARTITION to have repartitoning on the fly? Maybe with a
separate tool like i.e. https://patchwork.ozlabs.org/patch/60224/ ?

Regards
Andrea



More information about the linux-mtd mailing list