Re: [PATCH v3 0/7] init: discoverable root partitions

From: Christian Brauner

Date: Thu Nov 19 2026 - 08:58:09 EST


On Wed, Nov 11, 2026 at 04:24:35PM +0100, Vincent Mailhol wrote:
> I would appreciate hearing whether these use cases and the limited
> scope address your concerns.

I don't think they do. The scope was never the problem. DPS is userspace
policy and a subset of it in the kernel is still policy in the kernel.
It seems just wrong.

> This is useful for booting a kernel manually, for example from the edk2
> file browser, or recovering from a lost or corrupted bootloader
> configuration without having to supply the correct root= argument or
> load an initrd from the bootloader shell. Finally, it allows systems
> that otherwise need no initrd to discover their root partition through
> DPS without introducing an early userspace environment solely for that
> lookup.

The kernel can already find the root partition without an initrd though?
For example, via root=PARTUUID= and root=PARTLABEL=.

And if you want to pick something in the edk2 file browser and have it
boot then pick a UKI. It carries its command line and its initrd in the
PE binary so there's nothing to type and no second file to find. And
that initrd can do DPS just fine. Everything beyond that is bootloader
or early userspace policy.