On Jan 17 2007 16:06, Alon Bar-Lev wrote: > On 1/17/07, Tomasz Chmielewski <[EMAIL PROTECTED]> wrote: >> Another obstacle would be to place the initramfs image on the same >> partition as the kernel (normally, I dd kernel to /dev/mtd1). > > As far as I know you can embed the initramfs into the kernel image using > CONFIG_INITRAMFS_SOURCE. > > http://www.timesys.com/timesource/initramfs.htm
The question was rather if (a) kernel code is cheaper than (b) userspace And I say: neither. If things get really tight, write your own init.c, compile with -static and link against uclibc/klibc, and let it hopefully be small enough to fit. -`J' -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/