Re: what is "unpack_to_rootfs()" unpacking, and where is it putting it?

2008-08-06 Thread Robert P. J. Day
On Wed, 6 Aug 2008, Thomas Petazzoni wrote: > Hi Robert, > > Le Tue, 5 Aug 2008 18:28:00 -0400 (EDT), > "Robert P. J. Day" <[EMAIL PROTECTED]> a écrit : > > > this code is particularly ugly because this file includes the > > source file lib/inflate.c, then promptly uses a plethora of global > >

Re: what is "unpack_to_rootfs()" unpacking, and where is it putting it?

2008-08-06 Thread Thomas Petazzoni
Hi Robert, Le Tue, 5 Aug 2008 18:28:00 -0400 (EDT), "Robert P. J. Day" <[EMAIL PROTECTED]> a écrit : > this code is particularly ugly because this file includes the source > file lib/inflate.c, then promptly uses a plethora of global variables > to get things done. yeesh. Yes, the way to inte

what is "unpack_to_rootfs()" unpacking, and where is it putting it?

2008-08-05 Thread Robert P. J. Day
i'm perusing the code in init/initramfs.c, and i'm trying to figure out how that initial initramfs image becomes the new root filesystem. (i could follow the code but, as you'll see, it's really pretty depressingly ugly, so if anyone can clarify what follows, i'd be eternally grateful.) from