From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OJPX7-0006r2-3V for mharc-grub-devel@gnu.org; Tue, 01 Jun 2010 07:21:21 -0400 Received: from [140.186.70.92] (port=45177 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJPX4-0006qe-2s for grub-devel@gnu.org; Tue, 01 Jun 2010 07:21:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJPX2-0005Ut-Ea for grub-devel@gnu.org; Tue, 01 Jun 2010 07:21:17 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:62343) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJPX2-0005UY-8n for grub-devel@gnu.org; Tue, 01 Jun 2010 07:21:16 -0400 Received: by fxm14 with SMTP id 14so116437fxm.0 for ; Tue, 01 Jun 2010 04:21:15 -0700 (PDT) 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=A7mzV9AI2O26CaNPWOt3o2lLfNs7hc2Qjkor3W9xVOk=; b=r3R3IGdUzxhdopV/GP/Gs6tKLA1fseFWztzoAgrq5LbNH19Dz0O0lIHi+QA9xcSUmv vXYs6rYM7s2jnEpv1CeQSHzs0N8xZQB0UjRl57X9rQkwuO2jFOjbjDqx7QcE+R9Cj71I SRdLDPWW40H0YmsvDoVVkYeIuqmTU4WEuKOn8= 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=knCLh0PE7+52nxnx6Cdpfbs2Bve2RPRdMOtiUKKHVBxbWTODtgoKcTA/gi81B3eYB8 8Wv0QSpOhoT0ZKEFY+eToyGeaXoVl6xmdKDmib8ImGxQ5sfVXzhypfl4KhsNFbsg7xul RZDXERBtWJ2UF+IzDEtZyq1y94/lEFet5aSF4= Received: by 10.204.79.212 with SMTP id q20mr554295bkk.98.1275391274760; Tue, 01 Jun 2010 04:21:14 -0700 (PDT) Received: from debian.bg45.phnet (hg-public-dock-61-dhcp.ethz.ch [82.130.80.61]) by mx.google.com with ESMTPS id v14sm2714817bkz.20.2010.06.01.04.21.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Jun 2010 04:21:14 -0700 (PDT) Message-ID: <4C04ED20.7070203@gmail.com> Date: Tue, 01 Jun 2010 13:21:04 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100515 Icedove/3.0.4 MIME-Version: 1.0 To: grub-devel@gnu.org References: <4BF2DE4F.7070209@gmail.com> <4BF2F68E.8090906@gmail.com> <4BF42759.1010503@gmail.com> <4BF43302.6080106@gmail.com> <4BF43A0A.80801@gmail.com> <4BF8FA66.5060702@gmail.com> <4C042719.4050907@gmail.com> <4C04E245.1040607@gmail.com> In-Reply-To: <4C04E245.1040607@gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig6CAE594E473D9E781EA64A73" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Are BSD partitions not supported? 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: Tue, 01 Jun 2010 11:21:19 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6CAE594E473D9E781EA64A73 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/01/2010 12:34 PM, Gr=C3=A9goire Sutre wrote: > > if disk->partition is not NULL /* embedded partition *= / > and > disk->partition's partmap is msdos > and > disk->partition's msdos partition type is NetBSD or OpenBSD > then > interpret BSD label offsets as absolute /* (a) */ > else > interpret BSD label offsets as relative /* (b) */ For FreeBSD we have to investigate 'c' partition to determine delta. > fi > > In short, the normal interpretation of BSD label offsets would be the > relative one (b), and we would make an exception to handle NetBSD and > OpenBSD (a). The bottom line is: bsdlabel is broken concept. Unless support of $config is required I would omit it to disencourage further propagation of broken concepts. > > Now, when BSD label offsets are detected absolute (a), should we > consider them as absolute: > - w.r.t. to the start of the disk (as is done in the code right now), > or > - w.r.t to the location of the msdos partmap? > I prefer the second option since it is compatible with dd-ing an entire= > disk into an msdos partition. Maybe the loopback feature also requires= > the second option (I don't know the internals). > Second one is cleaner. But perhaps it's pointless to support such config since no BSD will be able to bootstrap from such a config > Gr=C3=A9goire > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig6CAE594E473D9E781EA64A73 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/ iF4EAREKAAYFAkwE7SgACgkQNak7dOguQgk4wgEAw/baWPXiFRqmDr9PVxFfjBB+ BK3RAdLVXd5jo/DV6EABAIe2pFvxxzm9T2RHM3t1UsDNNC0yxWcO6bjK4E+F+i7d =dNUS -----END PGP SIGNATURE----- --------------enig6CAE594E473D9E781EA64A73--