Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KGwp7-0006NL-F0 for mharc-grub-devel@gnu.org; Thu, 10 Jul 2008 10:08:41 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KGwp5-0006MJ-Bx for grub-devel@gnu.org; Thu, 10 Jul 2008 10:08:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KGwp3-0006LN-Pw for grub-devel@gnu.org; Thu, 10 Jul 2008 10:08:38 -0400 Received: from [199.232.76.173] (port=39060 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGwp3-0006LK-Mz for grub-devel@gnu.org; Thu, 10 Jul 2008 10:08:37 -0400 Received: from wf-out-1314.google.com ([209.85.200.172]:28361) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KGwp3-0008Kj-CB for grub-devel@gnu.org; Thu, 10 Jul 2008 10:08:37 -0400 Received: by wf-out-1314.google.com with SMTP id 28so3245538wfc.24 for ; Thu, 10 Jul 2008 07:08:34 -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:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=MYDpzTJDcN/htasgI5Xy2SOU3lgZBr5kV4TXqk/QQDM=; b=r1U6DwUYOL5pQ+e338uC55laYLXD6WDNzDwhCEsnYav876SQ4E5ZULy6cayi5Nnh0F eO3ILJLMGomGw3ZypXrQWFjxrubI/YtjJ1pMTKwZK+Ko0vMUXqNrf4yzkXKQ/E0KIC+p WsTNSfJj7lCMRdTpYkj6wPNpti5mIlEJXGFiI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=iy7yUmmDXouoUhm0Se7+QKg8kW2Jg3wRHn8ICuGOruY1u5PboJgs84+W3Oyv3zDs00 r58OAKBQAEZ0eAXMRozYg4y11GgV/tVmlNYmvHIVZTZ7xARrgyg7yRwS1qBdeYXKGHlr TokXZC9W0BGcRZNLiDUn7i2ilyl83DdEg357o= Received: by 10.142.232.20 with SMTP id e20mr2760737wfh.109.1215698913982; Thu, 10 Jul 2008 07:08:33 -0700 (PDT) Received: by 10.142.157.10 with HTTP; Thu, 10 Jul 2008 07:08:33 -0700 (PDT) Message-ID: <891e76af0807100708n662fc0e8xdd6201602798c9c7@mail.gmail.com> Date: Thu, 10 Jul 2008 11:08:33 -0300 From: "Lucas Gadani" To: "Robert Millan" In-Reply-To: <891e76af0807061347l11946074r335341d8a272ead0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <891e76af0806291928r242db017wd0891a67f2301e68@mail.gmail.com> <20080706184147.GE22023@thorin> <891e76af0807061347l11946074r335341d8a272ead0@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: The development of GRUB 2 Subject: Re: [PATCH] Fix chainloding + Chainloading into logical partitions X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2008 14:08:39 -0000 On Sun, Jul 6, 2008 at 5:47 PM, Lucas Gadani wrote: > On Sun, Jul 6, 2008 at 18:41, Robert Millan wrote: >> >> Looks like it increases pc.mod code to store information that is only useful >> to the chainloader. Is there a reason for not having the chainloader >> retrieve it? (note that for disk access we have a cache) > > We would need to duplicate the code that iterates through the logical > partitions in the chainloader or we can change > pc_partition_map_iterate hook function to also receive > grub_pc_partition (we can't use the pc_partition_map_iterate cause the > hook function only receives a grub_disk_t and grub_partition_t, but > not the grub_pc_partition that's necessary to reconstruct the > partition info). What would be the best patch to get accepted into grub? I'm willing to code the patch, but first I'd like to know the best way to get comitted to grub. -- Lucas