Messages in this thread | | | Date | Wed, 17 Jan 2007 15:12:23 +0100 (MET) | From | Jan Engelhardt <> | Subject | Re: kernel cmdline: root=/dev/sdb1,/dev/sda1 "fallback"? |
| |
On Jan 17 2007 16:06, Alon Bar-Lev wrote: > On 1/17/07, Tomasz Chmielewski <mangoo@wpkg.org> 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 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/
| |