SD card flashing time

Mitch Bradley wmb at laptop.org
Thu Sep 16 19:32:08 EDT 2010



On 9/16/2010 1:28 PM, Martin Langhoff wrote:
> On Thu, Sep 16, 2010 at 7:01 PM, James Cameron<quozl at laptop.org>  wrote:
>> No, certainly not.  There's no justification for either mke2fs or
>> resize2fs to write to blocks that do not form part of the filesystem
>> metadata.  Why would you want to zero-out blocks anyway?
> Thinking of a deployment trying minimize reflash times.
>
> What if they have a signed Forth script to run on a USB stick that... ?
>
>   - runs fs-update u:\myimage.zd -- a "small-sized" img
>   - boots a signed kernel and signed initramfs from the USB stick --
> where the initramfs just executes resize2fs, prints success/failure
> and waits to be switched off

That would probably work.

> cheers,
>
>
>
> m



More information about the Devel mailing list