Re: Question on initrd and initramfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi...

On Fri, Sep 28, 2012 at 5:56 PM, Ezequiel Garcia <elezegarcia@xxxxxxxxx> wrote:
> Please note that the image you give qemu (or bootloader)
> to use as initrd is *not* formatted using any mkfs.
> It's just created with:
>
> $ find . | cpio -H newc -o > ../initramfs.cpio

Yup I am aware of that :)

> And the compiled kernel has no support for *any* filesystem.
> So, the question is: how are those files formatted?

Now that's something I can't answer definitively. I just guess that,
somewhere inside kernel code, there is certain code that can't be
toggled on or off i.e it is always enabled. And that code, one of
them, is tackling this initramfs unpacking.

> (Guess the answer is: look at the code)

Eventually...well, yes :)


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux