Messages in this thread | | | Date | Sun, 18 Nov 2007 16:02:22 -0800 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH][retry-2] init: Introduce rootdir bootparm to select which dir to sys_chroot |
| |
Bodo Eggert wrote: > On Sun, 18 Nov 2007, H. Peter Anvin wrote: >> Bodo Eggert wrote: > >>> 1) This is useful for booting a rescue or test system, too. In those cases, >>> you might want to have the old root moved somewhere. >>> (Always "$rootdir/oldroot"? Additional parameter? I'm not sure ...) >>> >> Again, this is a good example of why this really shouldn't be additional >> hacks in kernel space. > > ACK, but until kinit is default (and Godot arrives), this little hack does > seem to be useful.
I disagree, on two accounts:
a. For as long as we keep throwing more crap into the kernel, kinit will not get merged, because it "provides no new functionality."
b. You don't need kinit and kernel-tree integeration to do this in an external initramfs. You can do this with any number of codebases as an external initramfs.
-hpa - 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/
| |