mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vincent Mailhol <mailhol@kernel.org>
To: Christian Brauner <brauner@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>, Davidlohr Bueso <dave@stgolabs.net>,
	Alexander Viro <viro@zeniv.linux.org.uk>, Jan Kara <jack@suse.cz>,
	linux-kernel@vger.kernel.org, linux-block@vger.kernel.org,
	linux-efi@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	Dave Hansen <dave.hansen@intel.com>,
	James Bottomley <James.Bottomley@hansenpartnership.com>,
	Helge Deller <deller@gmx.de>,
	Matthew Wilcox <willy@infradead.org>,
	Jonathan Corbet <corbet@lwn.net>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Randy Dunlap <rdunlap@infradead.org>,
	linux-doc@vger.kernel.org
Subject: Re: [PATCH v3 0/7] init: discoverable root partitions
Date: Wed, 11 Nov 2026 16:24:35 +0100	[thread overview]
Message-ID: <182e7cc2-43cd-4858-99ca-5f243e2c9eb5@kernel.org> (raw)
In-Reply-To: <20261110-fachlehrer-anhaften-unkenntlich-86fc48b56f8f@brauner>

On 10/11/2026 at 17:03, Christian Brauner wrote:
> On Mon, Nov 02, 2026 at 10:29:07PM +0100, Vincent Mailhol wrote:
>> This series adds root discovery directly into the kernel so that people
>> who are not using an initrd can still benefit from it.
> 
> Nothing has changed since
> https://lore.kernel.org/r/20260617-irritation-rollen-wirst-7d636cbfec92@brauner

I replied to your earlier message to explain my position but did not
hear back.

Since v1, I have rewritten the cover letter to better explain why I
think implementing a subset of DPS in the kernel makes a
difference. The relevant paragraph is:

  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.

Similarly, I clarified the scope to address your concern about the
complexity of DPS:

  The scope is deliberately limited to block devices that the kernel can
  already mount through the root= parameter. Other DPS features, such as
  setting up LUKS-encrypted partitions, mounting partitions other than
  root or container setup, remain userspace responsibilities, with no
  future plan to implement them in the kernel. The intended usage is
  thus a hybrid approach in which the kernel DPS only mounts the root
  partition and leaves the remaining setup to userspace (either with DPS
  or with a classic fstab), just as it does today when root= specifies
  the root device.

I would appreciate hearing whether these use cases and the limited
scope address your concerns.


Yours sincerely,
Vincent Mailhol

      reply	other threads:[~2026-11-11 15:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-02 21:29 Vincent Mailhol
2026-11-02 21:29 ` [PATCH v3 1/7] block: store GPT partition type UUID Vincent Mailhol
2026-11-02 21:29 ` [PATCH v3 2/7] block: add DPS root partition type UUID definitions Vincent Mailhol
2026-11-02 21:29 ` [PATCH v3 3/7] init: factor out root device lookup into lookup_root_device() Vincent Mailhol
2026-11-02 21:29 ` [PATCH v3 4/7] block: discover root by DPS partition type UUID Vincent Mailhol
2026-11-02 21:29 ` [PATCH v3 5/7] block: skip partitions with DPS no-auto GPT attribute Vincent Mailhol
2026-11-02 21:29 ` [PATCH v3 6/7] block: add secondary DPS root partition type UUID Vincent Mailhol
2026-11-02 21:29 ` [PATCH v3 7/7] docs: document discoverable root partitions Vincent Mailhol
2026-11-10 16:03 ` [PATCH v3 0/7] init: " Christian Brauner
2026-11-11 15:24   ` Vincent Mailhol [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=182e7cc2-43cd-4858-99ca-5f243e2c9eb5@kernel.org \
    --to=mailhol@kernel.org \
    --cc=James.Bottomley@hansenpartnership.com \
    --cc=axboe@kernel.dk \
    --cc=brauner@kernel.org \
    --cc=corbet@lwn.net \
    --cc=dave.hansen@intel.com \
    --cc=dave@stgolabs.net \
    --cc=deller@gmx.de \
    --cc=jack@suse.cz \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-efi@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=skhan@linuxfoundation.org \
    --cc=viro@zeniv.linux.org.uk \
    --cc=willy@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®