From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NdRKH-00023v-M6 for mharc-grub-devel@gnu.org; Fri, 05 Feb 2010 11:46:37 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NdRKF-00022k-HD for grub-devel@gnu.org; Fri, 05 Feb 2010 11:46:35 -0500 Received: from [199.232.76.173] (port=38311 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdRKF-00022X-6z for grub-devel@gnu.org; Fri, 05 Feb 2010 11:46:35 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NdRKE-0006OC-86 for grub-devel@gnu.org; Fri, 05 Feb 2010 11:46:34 -0500 Received: from mail-bw0-f219.google.com ([209.85.218.219]:43678) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NdRKD-0006Nt-QM for grub-devel@gnu.org; Fri, 05 Feb 2010 11:46:34 -0500 Received: by bwz19 with SMTP id 19so1446719bwz.8 for ; Fri, 05 Feb 2010 08:46:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=SZxx63fonLe11YIjCxBaIFPGrMABUNLkoz8Rd3iy/CM=; b=s6MFxK1AoFKa/Ui0et8mIBIg0/Sq6E+3E4u65YhbWLSk2j4sQwWl3atsZPASWDFEMS 3sQKhtgmzfDlwZdhIkhYAwqYP9R0onKrZt1m1gIGatwQTNDNRPk53kty93FTMGMQRnUS PdnPJAmSqNGYvreA3Xab2L/BFaKMz1hjSRWig= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=qZ6IUY53UktusdaOZ1gYMtpMnKnfHO2LwlY/uYG4ZsfSrr4V98EDGo9LRHYoIKHy9m hRfVLVulNSQqaBc/BrfvP8z0HckOP+15aioOQF+x0E8a9Q7CfyunjcSJJByZOCT7xP31 FtnaXOdr2dxj/iOXDTDI/YGa1PH1L8IP0gY2o= Received: by 10.204.144.78 with SMTP id y14mr1803823bku.194.1265388392864; Fri, 05 Feb 2010 08:46:32 -0800 (PST) Received: from debian.bg45.phnet (gprs41.swisscom-mobile.ch [193.247.250.41]) by mx.google.com with ESMTPS id 16sm706089bwz.15.2010.02.05.08.46.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 05 Feb 2010 08:46:32 -0800 (PST) Message-ID: <4B6C4B5B.2060809@gmail.com> Date: Fri, 05 Feb 2010 17:46:19 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB References: <27271057.01265282770941.JavaMail.root@wombat> <20100204183114.GV4409@riva.ucam.org> In-Reply-To: <20100204183114.GV4409@riva.ucam.org> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig3CDCBCD9DE27943E58E237B4" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Search GPT partition in GRUB 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: Fri, 05 Feb 2010 16:46:35 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3CDCBCD9DE27943E58E237B4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Colin Watson wrote: >> It would be ideal if we can search the GPT partition/disk by GUID - >> that's what we got NTFS GUID for =3D) >> =20 > > That would be nice, and it might not be all that difficult to implement= , > but of course it would take up extra precious space in the core image. > I don't think it's really necessary in this case. > > =20 Implementing it isn't difficult but it's confusing to have two types of UUIDs. I'm not sure we need GPT UUIDs. grub-mkconfig will continue to use filesystem UUIDs, so GPT UUIDs will only be used in maual configuration. But in the latter case it's much easier to use filesystem labels when writing configuration manually. Probability of collision with n-partitions and k bits is lower than n^2*2^(-k-1) Even with 1024 partitions and 32-bit IDs it's under 1 over 8192. Fell free to detail usage cases when my logic is wrong (e.g. disk configuration, who writes config, external factors and so on) > Cheers, > > =20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig3CDCBCD9DE27943E58E237B4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAktsS2MACgkQNak7dOguQglGoQD+M13ro4J1Gy8ZMApW9Nwwwnm9 qbg9eHwj9bTRM2Vy06UBAJXPBTBp+Ua91mUf9+3j+RjuGdp4Szs6P5Gy1jtqIVSF =xj5v -----END PGP SIGNATURE----- --------------enig3CDCBCD9DE27943E58E237B4--