Re: [CFT] initramfs patch

Alexander Viro (viro@math.psu.edu)
Mon, 30 Jul 2001 16:49:15 -0400 (EDT)


On Mon, 30 Jul 2001, Mike Touloumtzis wrote:

> 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?

a) IIRC, both are read-only.
b) what stops you from doing initramfs + romfs-on-initrd? It works.

-
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/