From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NpocX-0002s0-5o for mharc-grub-devel@gnu.org; Thu, 11 Mar 2010 15:04:37 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NpocU-0002oW-Vb for grub-devel@gnu.org; Thu, 11 Mar 2010 15:04:35 -0500 Received: from [140.186.70.92] (port=43879 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NpocT-0002mY-ST for grub-devel@gnu.org; Thu, 11 Mar 2010 15:04:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NpocS-0004RV-SH for grub-devel@gnu.org; Thu, 11 Mar 2010 15:04:33 -0500 Received: from babylon.hostgo.com ([65.19.169.34]:34190) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NpocR-0004Qn-PC for grub-devel@gnu.org; Thu, 11 Mar 2010 15:04:32 -0500 Received: from [71.10.224.192] (helo=[192.168.1.102]) by babylon.hostgo.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NpocK-00055c-To; Thu, 11 Mar 2010 15:04:25 -0500 Message-ID: <4B994CCA.4010908@isaac.cedarswampstudios.org> Date: Thu, 11 Mar 2010 15:04:26 -0500 From: Isaac Dupree User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Shredder/3.0.3 MIME-Version: 1.0 To: The development of GNU GRUB References: <3c6a49541003110643y505bb8bdn187e1883c044e23f@mail.gmail.com> In-Reply-To: <3c6a49541003110643y505bb8bdn187e1883c044e23f@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - babylon.hostgo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - isaac.cedarswampstudios.org X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 Subject: Re: [patch] search for partition using GPT GUID X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2010 20:04:35 -0000 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