Re: [CFT] initramfs patch

Mike Touloumtzis
2001-07-30T20:30:27Z

On Mon, Jul 30, 2001 at 02:05:55AM -0400, Alexander Viro wrote:
>
> The thing unpacks cpio archive (currently - linked into the kernel image)
> on root ramfs and execs /init. After that we are in userland code. Said
> code (source in init/init.c and init/nfsroot.c) emulates the vanilla
> 2.4 behaviour. You can replace it with your own - that's just the default
> that gives (OK, is supposed to give) a backwards-compatible behaviour.

One thing that would make embedded systems developers very happy
is the ability to map a romfs or cramfs filesystem directly from
the kernel image, avoiding the extra copy necessitated by the cpio
archive. Are there problems with this approach?

miket