[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH] erase all size parameter
From: Denys Vlasenko <vda.linux () googlemail ! com>
Date: 2009-05-26 0:04:56
Message-ID: 200905260204.56651.vda.linux () googlemail ! com
[Download RAW message or body]
On Monday 27 April 2009 13:00, Peter Korsgaard wrote:
> >>>>> "Marc" == Marc Leeman <marc.leeman@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
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic