grub-devel
[Top][All Lists]
Advanced

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

Re: [patch] search for partition using GPT GUID


From: Isaac Dupree
Subject: Re: [patch] search for partition using GPT GUID
Date: Thu, 11 Mar 2010 15:04:26 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Shredder/3.0.3

On 03/11/10 09:43, KESHAV P.R. wrote:
GPT GUID is one of the best FILESYSTEM-INDEPENDENT way of uniquely
identifying a partition.

I am not sure if Linux supports gpt-uuids (I didn't find any hints of it via google!), but this sounds like it could be great news for Linux encrypted swap -- the current enc-swap recommendations destroy the partition contents on every boot, with a new random encryption-key and new `mkswap` inside it, so you have to refer to it like /dev/sda5. And then "/dev/sda5" partition gets destroyed on every boot, so the failure mode for wrong-partition is even worse than normal. But with a UUID stored outside the partition, it would be more possible to uniquely identify that partition. (Or a different encrypted-swap format, but no one seems interested in doing that :-( )

Maybe even the GPT Disk GUID can be used to reference a
GPT disk (instead of confusion over whether it is (hd1) or (hd2) and
so on.

oh, interesting, that could perhaps be nice for something

-Isaac




reply via email to

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