Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934056AbYCFUu2 (ORCPT ); Thu, 6 Mar 2008 15:50:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754037AbYCFUuU (ORCPT ); Thu, 6 Mar 2008 15:50:20 -0500 Received: from bombadil.infradead.org ([18.85.46.34]:46681 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757796AbYCFUuU (ORCPT ); Thu, 6 Mar 2008 15:50:20 -0500 Subject: Re: [PATCH 2.6.24] chroot= as a new kernel parameter From: Peter Zijlstra To: Pavel Machek Cc: Ingo Molnar , Chris Wedgwood , Pawel Plociennik , linux-kernel@vger.kernel.org In-Reply-To: <20080306115315.GA8972@elf.ucw.cz> References: <200803060001.38432.paplociennik@gmail.com> <20080306103422.GA5511@puku.stupidest.org> <20080306104448.GG13391@elte.hu> <20080306112212.GA9261@puku.stupidest.org> <20080306113729.GA18403@elte.hu> <20080306115315.GA8972@elf.ucw.cz> Content-Type: text/plain Date: Thu, 06 Mar 2008 20:46:21 +0100 Message-Id: <1204832781.6241.269.camel@lappy> Mime-Version: 1.0 X-Mailer: Evolution 2.21.90 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1371 Lines: 32 On Thu, 2008-03-06 at 12:53 +0100, Pavel Machek wrote: > On Thu 2008-03-06 12:37:29, Ingo Molnar wrote: > > > > * Chris Wedgwood wrote: > > > > > > But given an existing initrd (which might have come from the distro, > > > > etc.) i prefer adding boot options instead of modifying the initrd. > > > > > > I assume this is so you have have /distro1 /distro2 and use your boot > > > option to (help) select which one you boot into? > > > > while i have no personal use for chroot=, i generally test distros that > > way, yes - and i try to keep them as unmodified as possible. > > > > "Use the initrd as an extended boot commandline" is a poor answer IMO. > > > > _Everything_ we do on the boot commandline that affects user-space can > > be done in an initrd in theory - but still we have hundreds of boot > > options. > > Yes, please. chroot= is useful, nonintrusive, and it just should be there. As much as I hate initrd, and all features building dependencies on it, I don't see the need for either initrd or kernel support for chroot= as it can be trivially done using a slightly longer init=. -- 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/