[OLPC-devel] Booting from uncleanly dismounted flash key.
Ronald G Minnich
rminnich at lanl.gov
Sat Aug 26 18:13:38 EDT 2006
David Woodhouse wrote:
> Quite a lot -- 88390 bytes or so with a normal build with GCC 4.1.1:
>
> text data bss dec hex filename
> 42582 1028 8 43618 aa62 fs/ext2/ext2.o
> 93173 1252 8 94433 170e1 fs/ext3/ext3.o
> 37547 8 20 37575 92c7 fs/jbd/jbd.o
>
> (Or 86617 bytes if you're building it all with --combine:
> text data bss dec hex filename
> 41636 1028 8 42672 a6b0 fs/ext2/ext2.o
> 91944 1252 8 93204 16c14 fs/ext3/ext3.o
> 36057 8 20 36085 8cf5 fs/jbd/jbd.o )
>
> We might do better with a simple "journal replay" hack -- we could lift
> the code out of fsck.ext3.
>
ow. ow. ow.
Let's just make sure that we are umounting the usb cleanly, then this
won't happen.
ron
More information about the Devel
mailing list