Messages in this thread | | | Date | Thu, 25 Aug 2005 21:39:15 -0400 (EDT) | From | dwilson24@nyc ... | Subject | Initramfs and TMPFS! |
| |
This is in reference to Chris Wedgwood's patch.
Wouldn't it be better to put overmount_rootfs in initramfs.c and call it only if there's a initramfs?
printk(KERN_INFO "checking if image is initramfs..."); err = unpack_to_rootfs((char *)initrd_start, initrd_end - initrd_start, 1); if (!err) { printk(" it is\n"); #ifdef CONFIG_EARLYUSERSPACE_ON_TMPFS overmount_rootfs(); #endif /* CONFIG_EARLYUSERSPACE_ON_TMPFS */ unpack_to_rootfs((char *)initrd_start, initrd_end - initrd_start, 0); free_initrd_mem(initrd_start, initrd_end); return; - 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/
| |