Re: [PATCH 2.6.24] chroot= as a new kernel parameter

From: Christian Kujau
Date: Sat Mar 08 2008 - 09:28:26 EST


On Sat, 8 Mar 2008, Al Boldi wrote:
Nice try, but this only works on the surface. Try remounting root to see what I mean.

Are you suggesting that hpa's init= thingy doesn't support remounting root? If so, it'd have to be mentioned in kernel-parameters.txt as well.

Now, for a patch that actually does what we want, try this:
[PATCH][retry-2] init: Introduce rootdir bootparm to select which dir
to sys_chroot

I didn't intend to introduce another bootparam, because of -ENOSKILL.
But somewhere in this thread is a patch for the chroot= bootparam, I
have not tested it though...

C.
--
BOFH excuse #93:

Feature not yet implemented
--
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/