Re: [PATCH 0/2] boot to a mapped device

From: Richard Weinberger
Date: Wed Sep 26 2018 - 03:17:14 EST


Helen,

On Wed, Sep 26, 2018 at 7:01 AM Helen Koike <helen.koike@xxxxxxxxxxxxx> 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