tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GPT attributes in dkwedge [PATCH]



On Sat, Sep 16, 2023 at 08:57:28PM +1000, Simon Burge wrote:

> The only corner case that an older kernel won't understand a longer root
> device name passed in by a newer /boot as the old kernel will still have
> the 16 char length limit.

Yes, old kernels will truncate the name. Since that's supposed to be
not found, the kernel will just come up without a root and ask.

A new record type on the other hand won't be understood and the kernel
will fall back to other root deducing methods and might scucceed in
finding a wrong partition. You could prevent this by always providing
an old dummy record with a non-empty string.

-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index