[PATCH] olpc.fth - grow the root filesystem partition on boot
quozl at laptop.org
Sat Mar 17 00:18:36 EDT 2012
On Fri, Mar 16, 2012 at 11:55:54PM -0400, Paul Fox wrote:
> james wrote:
> > On Fri, Mar 16, 2012 at 11:58:51AM -0600, Daniel Drake wrote:
> > > I'll try to take on this project this release cycle.
> > > Posted some thoughts at http://dev.laptop.org/ticket/10040
> > Thanks.
> > Consensus is to implement a partition resize in OpenFirmware as the last
> > step of ''fs-update''. This doesn't preclude the initramfs doing it,
> > and the initramfs will do the filesystem resize.
> i'm a little confused. i know i reported that filesystem resize was
> quite fast now, but then james reported that a resize took a really
> long time still, and i haven't retested. if a resize takes a really
> long time, then i don't think we can do it in initramfs, can we?
i agree. i haven't done timings yet, all the units i could do them on
are on a runin suspend resume test. also, i don't see the advantage to
doing the resize in initramfs, because that would delay booting. i
think it should be done with the system up and running. i gather it is
an interruptible process. daniel notes in #10040 that he will
investigate how safe ext4 online resize is.
More information about the Devel