On Mon, Jul 21, 2008 at 01:39:25PM -0400, C. Scott Ananian wrote: > On Mon, Jul 21, 2008 at 12:52 PM, Jim Gettys <[EMAIL PROTECTED]> wrote: > > There are two issues here that we should be sure to not intertwingle: > > > > 1) whatever behavior Sugar may have when low/out of space, during > > operation, or at boot time. > > A number of independent issues here: > ... > b) sugar should, ideally, start even if flash is full. It is > currently failing when writing to ~olpc/.boot_time or some such, and > crashing.
In olpc-utils: usr/bin/olpc-session. This was done for performance testing work, and I am unaware of other references to the file. We can either comment out this stanza or remove it. I have attached patches to do either. Erik
>From 3527ba05f79f2a6543baa004a8b6fbf613dcd735 Mon Sep 17 00:00:00 2001 From: Erik Garrison <[EMAIL PROTECTED]> Date: Mon, 21 Jul 2008 14:25:23 -0400 Subject: [PATCH] Stop writing ~/.boot_time at startup so we can improve our chances in NAND-fillup land. --- usr/bin/olpc-session | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/usr/bin/olpc-session b/usr/bin/olpc-session index c50b5f1..a38bd4b 100755 --- a/usr/bin/olpc-session +++ b/usr/bin/olpc-session @@ -60,9 +60,10 @@ xset -r 9 -r 220 -r 67 -r 68 -r 69 -r 70 -r 71 -r 72 -r 73 -r 74 -r 79 -r \ # source custom user session, if present [ -f "$HOME/.xsession" ] && . "$HOME/.xsession" -# useful for performance work -mv $HOME/.boot_time $HOME/.boot_time.prev 2>/dev/null -cat /proc/uptime >$HOME/.boot_time +# Uncomment the following lines to save a record of our startup time. +# This is useful for performance work. +# mv $HOME/.boot_time $HOME/.boot_time.prev 2>/dev/null +# cat /proc/uptime >$HOME/.boot_time # finally, run sugar exec /usr/bin/ck-xinit-session /usr/bin/sugar -- 1.5.4.3
>From 66cbebe1338dd9167d49b69cb71b4911676bb013 Mon Sep 17 00:00:00 2001 From: Erik Garrison <[EMAIL PROTECTED]> Date: Mon, 21 Jul 2008 14:21:06 -0400 Subject: [PATCH] Stop writing ~/.boot_time at startup so we can improve our chances in NAND-fillup land. --- usr/bin/olpc-session | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/usr/bin/olpc-session b/usr/bin/olpc-session index c50b5f1..4a82845 100755 --- a/usr/bin/olpc-session +++ b/usr/bin/olpc-session @@ -60,9 +60,5 @@ xset -r 9 -r 220 -r 67 -r 68 -r 69 -r 70 -r 71 -r 72 -r 73 -r 74 -r 79 -r \ # source custom user session, if present [ -f "$HOME/.xsession" ] && . "$HOME/.xsession" -# useful for performance work -mv $HOME/.boot_time $HOME/.boot_time.prev 2>/dev/null -cat /proc/uptime >$HOME/.boot_time - # finally, run sugar exec /usr/bin/ck-xinit-session /usr/bin/sugar -- 1.5.4.3
_______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel