[PATCH] erase all size parameter
Denys Vlasenko
vda.linux at googlemail.com
Tue May 26 00:04:56 UTC 2009
On Monday 27 April 2009 13:00, Peter Korsgaard wrote:
> >>>>> "Marc" == Marc Leeman <marc.leeman at gmail.com> writes:
>
> Hi Marc,
>
> Marc> I'm pleased to see that eraseall is in busybox. att'd is a
> Marc> small patch that allows passing a size argument to the tool and
> Marc> it should erase upper(size/blocks) flash blocks instead of the
> Marc> entire partition.
>
> Marc> I use it in combination with dd for upgrading and for partially used
> Marc> partitions it speeds up things.
>
> I think there's some value in staying compatible with mtd-utils's
> flash_eraseall, so such stuff probably belongs in a seperate
> flash_erase applet (sharing most of the code with flash_eraseall).
>
> flash_erase takes <dev> <start> [<# blocks>]
If such applet exists in mtd-utils, does anyone want to create a patch?
--
vda
More information about the busybox
mailing list