Messages in this thread | | | Date | Sat, 29 Nov 2003 01:25:37 -0500 | From | John Zielinski <> | Subject | Re: Rootfs mounted from user space - problem with umount |
| |
Valdis.Kletnieks@vt.edu wrote:
>I'm missing something - why not use an initrd and pivot_root and then >unmount the old root? Seems to work here. > >
I'm using the 2.6.0-test9 kernel and initramfs to store video mode data that my kernel mods will read during boot. Using cpio is a lot easier than making a file system using the loopback device. I want to keep the rootfs around since I can modify it and then cpio it back up in a shutdown script for next boot.
If I used initrd I'd also have to set up a usable filesystem. This way I can just have data in there.
John
- 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/
| |