[PATCH] olpc.fth - grow the root filesystem partition on boot

James Cameron quozl at laptop.org
Wed Mar 14 20:29:35 EDT 2012

On Wed, Mar 14, 2012 at 08:20:45PM -0400, John Watlington wrote:
> On Mar 14, 2012, at 7:29 PM, James Cameron wrote:
> > fs-verify is used after fs-update in factory to ensure that the
> > fs-update was successful.
> But the factory can use the correct size image (within a few tens
> of MB) in the first place, resulting in no change by the resize
> operation.

The patch does change the size of the partition in this case, and
providing one image to rule them all would simplify manufacturing ... in
that it would remove a possible source of error.

> > We might instead place it in the olpc.fth path for insecure boot, and in
> > the fs-update path for secure install.
> > Or we might add it to the tail of fs-update, and add an
> > fs-update-no-resize for the factory to use, with an fs-resize for them
> > to use after fs-verify.
> This sounds like the right compromise...


James Cameron

More information about the Devel mailing list