grub-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH] Add new partition type API and convert GPT type checks.


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: [RFC PATCH] Add new partition type API and convert GPT type checks.
Date: Tue, 23 Sep 2014 01:06:49 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.0

On 22.09.2014 22:03, Michael Marineau wrote:
> that is what I need to make use of and copying the code to re-read the
> type field yet again felt silly. My final goal is actually a module
> that will search for two partitions of the same type and select
> between them based on some other metadata. Since searching by
> partition type is already a common task in the grub code base
> providing an API to do so seemed like a good starting point. Others
> will likely find extending this to support label and uuid more useful.
> For example with GPT the Linux kernel can use
> "root=PARTUUID=<someuuid>" directly, unlike LABEL= or UUID= which must
> be implemented in an initrd.
Using partition type has proven to be unrelaiable in the past and grub2
uses as little of it as possible. Why can't your goals be achieved with
FS UUIDs?

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]