Re: [RFC PATCH 3/4] block: add support for partition table defined in OF

From: Christoph Hellwig
Date: Wed Oct 02 2024 - 03:45:58 EST


On Tue, Oct 01, 2024 at 11:26:22AM +0200, Christian Marangi wrote:
> > No. ->disk_name is in no way reliable, we can't hardcode that into
> > a partition parser.
> >
>
> Then any hint on this or alternative way?

The normal way would be to use eui/ngui/uuid provided by the storage
device. We have a interface for that in the block layer support by
scsi and nvme, but I don't know how to wire that up for eMMC which
I suspect is what you care about.