Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp403609imm; Wed, 26 Sep 2018 00:19:02 -0700 (PDT) X-Google-Smtp-Source: ACcGV60qwIk3I8zSrluIB4ar5ZTea6ENh1+KfV7A6kGD2WY0mf6ZhAVjwatCJ78hueQkuEos6koh X-Received: by 2002:a63:e355:: with SMTP id o21-v6mr4355842pgj.251.1537946342347; Wed, 26 Sep 2018 00:19:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537946342; cv=none; d=google.com; s=arc-20160816; b=ncPY+D7JDfobiYbOt3DXME/Nan/JPsMgfc2rcoLG9IhjkHJTc/hhsJl11hUXG2kdZs /dHNDWdFMDTIFf2O48zfV0h2aLY/tr7nUHrH+P5+SC8PMXTO7MaYuRHscFcx3tEhyyJH VZZtL2n2mevXf5UY9V7CZHHF+DmMzikb96WqZvPZNbSpuN35yMPonu6/H1Bcfm61oO5E iL6aTj6q9F728ly4N7wAz8r2FiyTkjgLnRSL9NdjdEsxjZhEdFlSvBizvQNkRvlkNjlX aMXipkpxAlnccpBR890SUeAevdMJZjrAXjr7x3u3zggWrNkneDbnksnlLK4cZW31NX9N Jt3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=HJfPRyG+f6RWvk5UC5Fmv6yOHZd6T+TtUFlkK3TIFOI=; b=BDUl23FAyYsX8J7664e37WyIEckaaGQwEfRtdkWq51syX8JvoN/K59Ra01e+LTFo4Y rIE+KAu/BJsKtccdWOdqUyrJ64YQNICbxdW0gcul+sL6b1/oC83pClrtf4LCnYIdqWEu aNIqt7GhO9QP37mZDlY2Fe+Ann7J0XwL137kCjWoCV93nRNz5zcp5QHlEfcmCzW3/u/J gOU333kHzxHxt9TnQ102ZfyqsZTyy+P3CuOhRRpY0oH/Y/gK6V3uEXqSTK6yrQ/2S5Le cQI5Wgvyw5Tw6JEiA6c9QG/j78dhyGdSJOT/p2klWHVRZPq1e2lih0A/SFdyjV6d4ByE 6YqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UmHc2qzP; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o11-v6si4453969pgl.16.2018.09.26.00.18.46; Wed, 26 Sep 2018 00:19:02 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UmHc2qzP; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727354AbeIZN2l (ORCPT + 99 others); Wed, 26 Sep 2018 09:28:41 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:55296 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726961AbeIZN2l (ORCPT ); Wed, 26 Sep 2018 09:28:41 -0400 Received: by mail-wm1-f68.google.com with SMTP id 206-v6so1032690wmb.5; Wed, 26 Sep 2018 00:17:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HJfPRyG+f6RWvk5UC5Fmv6yOHZd6T+TtUFlkK3TIFOI=; b=UmHc2qzPTpktoz+hbal3OLGvWG3aOf64LkfJZ3pCHHp1CvxR0BL37m/SwEogkd/3CX 1m8q+o8M0QL8Ec/e/7nV646R9KXnJ7by4S+u8ueaDRkciotuAraoWrgxjvb1I8K7BzeL NksVNgdYVBcc71JLMv2Ld+rUrFnSaK0rwScle2kH559s+JWRzw4CZXprvU1wgSmUYcYK b3lekqa/zRTU1NrjarRmODB6zewOUhf+AZfHmg8hWcbdf/bZoPte3lvgB3ytXELW6Den Z/m4ytnJQ9w4Wi5c/ozzlqT8h8nkRuc7vWbtpbAqG54qA8bCJv+7AbB0g8QscOkWh8JG CSaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HJfPRyG+f6RWvk5UC5Fmv6yOHZd6T+TtUFlkK3TIFOI=; b=HiyMrq8pi60vvGihht8K05JP1p14grpMjJ/LuhMEc+UOT7c2zJ0IqFJRrhScaKqtbh pBicScJBp0gVZNcD5ZTcnKsIuPoD5aA3ohFD51nr7P6V+ujHr0AJnrixW1bXNEIxvJEE ypa2BlFEOj+8QQD5nO81Id17LCnyX8xioUSsPFpbUFRz8PV/51bwFka2B2qn9itlz0ZS KBnLINBf+5CNuUOSGChdNiK180pdG7OkgGreh+EBQfEdACM56Rhjuobld1w0YTre4WWu onSx0CUTIqJug8xmzWM7fbqVSTEHh1uAQDujhqU7Fd92M4U+mmd8gd2P/WRisW3N4zkx bnBg== X-Gm-Message-State: ABuFfog+cOVvD1VPqzEaRCjE5moCjg4o2AsfdUqxq6DGC1kHcqrrhIrl P8VkFB5q8v6XCaXY0QCHrA3ZJk3WGgJ/6gweT30= X-Received: by 2002:a1c:889:: with SMTP id 131-v6mr3151162wmi.142.1537946229960; Wed, 26 Sep 2018 00:17:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Richard Weinberger Date: Wed, 26 Sep 2018 09:16:57 +0200 Message-ID: Subject: Re: [PATCH 0/2] boot to a mapped device To: helen.koike@collabora.com Cc: device-mapper development , agk@redhat.com, snitzer@redhat.com, LKML , enric.balletbo@collabora.com, Will Drewry , linux-doc@vger.kernel.org, linux-lvm@redhat.com, kernel@collabora.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > 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. -- Thanks, //richard