[PATCH] erase all size parameter
Peter Korsgaard
jacmet at uclibc.org
Mon Apr 27 11:00:43 UTC 2009
>>>>> "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>]
--
Bye, Peter Korsgaard
More information about the busybox
mailing list