Messages in this thread | | | From | Al Boldi <> | Subject | Re: [PATCH 2.6.24] chroot= as a new kernel parameter | Date | Sat, 8 Mar 2008 19:34:03 +0300 |
| |
Christian Kujau wrote: > 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?
Exactly.
> 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...
Sure, your doc effort is much appreciated, but neither the proposed patch nor the init= trick works as advertised, due to some strange /dev/root dependencies.
Now, the rootdir= patch works around this by binding the rootdir before sys_chroot.
Thanks!
-- Al
| |