Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2097879imm; Thu, 27 Sep 2018 07:24:19 -0700 (PDT) X-Google-Smtp-Source: ACcGV61OWwSk4Lz6ojJnk+ctz3qqnnIqglniVx7p3zNcME1dkoXdWwtg2R+8AokntjjfD/+z/xUL X-Received: by 2002:a17:902:28e8:: with SMTP id f95-v6mr11319498plb.240.1538058259512; Thu, 27 Sep 2018 07:24:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538058259; cv=none; d=google.com; s=arc-20160816; b=RvT3uBZ56db8yr0ca95EgI+FnsPlEGf2Ex0VoV+iN11pfiSGfz/coNPrnNnS8urlgg pZyfxwDYSpMhfvJp6iRbdSzOIPEYHb6S9cgUuKtppgZiCjBNzsYcbGdmstDjzuwGIl7D GudHy0ovf4IN3JTqHxYksWkfPau2ax5R7iey9wDwd5eDywZ8dZxgqgvu8fRI76hZU8wJ hwjJYKmSnRAF+3bSVphcyGmMbhgFPEEDDkqyuftKnBLqxtJtADN8vPJiXoa8unjq433h zFchgl/t6XFwsHpz0lYlSTFOZq1vsCTGC6hKDgDR9Tq69DTeXu77EVwTrWLafvolrKxe lFnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=GUGGiu9L0H4EBtro2H3JHajJDsHT7OvvoJxTKkjDpQY=; b=n+mi5Pp+XYJSoaJc1i9yZmg5lFpv5ipsTsp7Wf8aKU7+WJRClouP0OW0Z7G1Gyfkx9 pgg54Bwv8+vC0G2u0LEjhmqlHt73ZYG+GE/jMMnQEku5P6Ss8hxKJASSvlsA6sY/koqM 87u43Muk0lI8GKVaEPxD4zWnse+rWhD8tXUZIZ3rKpxlhJgutX/8G7F4THp3OIAbsa4G VroZxxFpfRsLNSmlCmhl4qEeE/J1IH66YZOJ2Dhz4EWOIAUQq+jJkxC4xKc3QwR2OSWg JixzjA9bRPhPOFFyPy24RNcW98a7BM4kD63XaPnI8qoP8+8SVMuhBOxV5jgmnNLygVRI 1Bgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b14-v6si2110837pgk.169.2018.09.27.07.23.53; Thu, 27 Sep 2018 07:24:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727556AbeI0UmH (ORCPT + 99 others); Thu, 27 Sep 2018 16:42:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52876 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727289AbeI0UmH (ORCPT ); Thu, 27 Sep 2018 16:42:07 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5C7D530015C7; Thu, 27 Sep 2018 14:23:37 +0000 (UTC) Received: from localhost (unknown [10.18.25.149]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 068C9600C7; Thu, 27 Sep 2018 14:23:30 +0000 (UTC) Date: Thu, 27 Sep 2018 10:23:29 -0400 From: Mike Snitzer To: Richard Weinberger Cc: helen.koike@collabora.com, device-mapper development , agk@redhat.com, LKML , enric.balletbo@collabora.com, Will Drewry , linux-doc@vger.kernel.org, linux-lvm@redhat.com, kernel@collabora.com Subject: Re: [PATCH 0/2] boot to a mapped device Message-ID: <20180927142328.GA4074@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.43]); Thu, 27 Sep 2018 14:23:37 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 26 2018 at 3:16am -0400, Richard Weinberger wrote: > Helen, > > On Wed, Sep 26, 2018 at 7:01 AM Helen Koike wrote: > > > > This series is reviving an old patchwork. > > Booting from a mapped device requires an initramfs. This series is > > allows for device-mapper targets to be configured at boot time for > > use early in the boot process (as the root device or otherwise). > > What is the reason for this patch series? > Setting up non-trivial root filesystems/storage always requires an > initramfs, there is nothing > wrong about this. Exactly. If phones or whatever would benefit from this patchset then say as much. I will not accept this patchset at this time. > > Example, the following could be added in the boot parameters. > > dm="lroot,,,rw, 0 4096 linear 98:16 0, 4096 4096 linear 98:32 0" root=/dev/dm-0 > > Hmmm, the new dm= parameter is anything but easy to get right. No, it isn't.. exposes way too much potential for users hanging themselves.