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

From: Pavel Machek
Date: Mon Mar 03 2008 - 09:44:22 EST


On Sun 2008-03-02 20:09:03, Pawel Plociennik wrote:
> On Sunday 02 March 2008 13:05, Guillaume Chazarain wrote:
>
> > You mean pid 1, right? ;-)
> Of course that (my brain has been mistaked) :-(
> >
> > Sure, but chroot should then exec /sbin/init as per the given kernel
> > command line. And then you run a real init.
> >
> > I cannot try it as I don't have another distribution installed in a
> > subdirectory, but if you could test it we would quickly know if it
> > works or not.
> >
> You have right.
> I have tested that and it *works* :-)
> so I thing that my patch is *unnecessary* now :-(

Actually I disagree here. This means that if distro in / breaks, you
will not be able to boot in ditstro in /foo any more :-(.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/