Re: Initramfs and TMPFS!

From: Chris Wedgwood (cw_at_f00f.org)
Date: 08/26/05

  • Next message: Benjamin LaHaise: "Re: 2.6.12 Performance problems"
    Date:	Fri, 26 Aug 2005 12:08:51 -0700
    To: Alan Jenkins <sourcejedi@gmail.com>
    
    

    On Thu, Aug 25, 2005 at 08:05:32PM +0100, Alan Jenkins wrote:

    > I'm curious as to why the kernel has to include the decoder - why
    > you can't just run a self-extracting executable in an empty
    > initramfs (with a preset capacity if needs be).

    You could do tht right now if you wished.

    We just support decompression in the kernel because it's not overly
    painful to do so (the code exists and works fairly well for the most
    part). The code to do so isn't ver large and it's marked __init too
    (well, it should be).

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Benjamin LaHaise: "Re: 2.6.12 Performance problems"

    Relevant Pages

    • Re: pivot_root broken in 2.6.15-rc1-mm2
      ... > (Another is that calling chroot and such after deleting their binaries out of ... > initramfs but before the paths are adjusted so that the ones in the new root ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [RFC] Reliable video POSTing on resume
      ... > Perhaps only emu86 should be used, to have a well-debugged codepath on ... Well, if it has to live in initramfs, it better be really small. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: swsusp: allow resume from initramfs
      ... >> where swap is on a logical volume. ... In that case, the initramfs needs to ... > a little more closely - perhaps we can get some shared code going that ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Initramfs
      ... > pass a cpio image into the standard initrd memory space. ... kernel option, so the name of the option shouldn't change. ... an initramfs image loaded into initrd space should be ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: udev: whats up with old /dev ?
      ... Control reaches the above code after an initramfs is unpacked, ... control reaches /init in an initramfs after the above code executes. ... Being inside the kernel at this point, it seems to me there ought to ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)