From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752811AbbIQSRc (ORCPT ); Thu, 17 Sep 2015 14:17:32 -0400 Received: from a.ns.miles-group.at ([95.130.255.143]:11949 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752027AbbIQSRb (ORCPT ); Thu, 17 Sep 2015 14:17:31 -0400 Subject: Re: Failover root devices To: Drew DeVault , Richard Weinberger References: <55FAA6BB.3060008@odi.ch> <20150917114955.GA2600@homura> <55FAFD1D.8030305@cmpwn.com> <55FAFDE1.2020707@nod.at> <55FB00E6.3090801@cmpwn.com> Cc: =?UTF-8?Q?Ortwin_Gl=c3=bcck?= , "linux-kernel@vger.kernel.org" From: Richard Weinberger Message-ID: <55FB03B8.2000101@nod.at> Date: Thu, 17 Sep 2015 20:17:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <55FB00E6.3090801@cmpwn.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 17.09.2015 um 20:05 schrieb Drew DeVault: >> Better send a patch to dracut folks. :-) >> Major distros use it and if the feature is nice other initramfs implementations will adopt it too. > > dracut is the common one sure, but I'm still not confident that it's the right place to put this. How would that feature look? Would we have the root= parameter use a format that's > specific to dracut and no longer a sane kernel parameter? Would we use a second parameter and discard the root= parameter? I think all of these are suboptimal solutions. No, the > right way, I think, is to implement this in the kernel and let the init systems take it from there themselves. I'd patch dracut to support kernel command lines like "root=/dev/diskX root=/dev/diskY". initramfs is allowed to parse/use the command line. So, you can do what you want. Thanks, //richard