Re: [PATCH][retry-2] init: Introduce rootdir bootparm to select whichdir to sys_chroot
From: H. Peter Anvin
Date: Sun Nov 18 2007 - 19:03:51 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/