For review: NAND out of space patch.

Erik Garrison erik at laptop.org
Tue Jul 22 14:26:45 EDT 2008


On Tue, Jul 22, 2008 at 01:58:29PM -0400, pgf at laptop.org wrote:
> jim wrote:
>  > Ah, I like this idea better than the previous I've heard; if we can
>  > uninstall software or cleanup the journal with human intervention, that
>  > would be good....  I'm nervous about automatic cleanup schemes....
> 
> i agree that erik's proposal sounds attractive, since we'd have
> most or all of the "real" UI available to assist in presenting
> the user's choices.  but even if this scheme doesn't pan out,
> i still think we could do something interesting by inserting a
> hook (via a patch) into .xsession which lets us run something
> non-sugary (but still interactive) prior to full startup.

Right.  The recovery-mode ui can be anything.

I'm going to work on the unionfs side of things.  Is there anyone
available to work on the recovery-mode ui interface?

Rough plan: On registering a full system at boot, we union-mount tmpfs
over top of the root filesystem (mounted read-only).  We set a flag
which tells olpc-session or Sugar to boot a graphical interface to a
cleanup utility.  We additionally mount the root fs at some location
read-write so that we can delete files from it, and point the cleanup
utility at this location.

Erik



More information about the Devel mailing list