From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1ME9BC-0003id-CM for mharc-grub-devel@gnu.org; Tue, 09 Jun 2009 17:48:26 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ME9BB-0003gw-0g for grub-devel@gnu.org; Tue, 09 Jun 2009 17:48:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ME9B5-0003ZR-Ke for grub-devel@gnu.org; Tue, 09 Jun 2009 17:48:24 -0400 Received: from [199.232.76.173] (port=42403 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ME9B5-0003Yr-BX for grub-devel@gnu.org; Tue, 09 Jun 2009 17:48:19 -0400 Received: from c60.cesmail.net ([216.154.195.49]:31725) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1ME9B4-0006Q6-QR for grub-devel@gnu.org; Tue, 09 Jun 2009 17:48:19 -0400 Received: from unknown (HELO smtprelay2.cesmail.net) ([192.168.1.112]) by c60.cesmail.net with ESMTP; 09 Jun 2009 17:48:17 -0400 Received: from [192.168.0.22] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by smtprelay2.cesmail.net (Postfix) with ESMTPSA id 9D2FD34C6A for ; Tue, 9 Jun 2009 17:52:31 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: References: <1244575428.4408.26.camel@mj> Content-Type: text/plain Date: Tue, 09 Jun 2009 17:48:16 -0400 Message-Id: <1244584096.3467.4.camel@mj> Mime-Version: 1.0 X-Mailer: Evolution 2.26.2 (2.26.2-1.fc11) Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] probe command 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: Tue, 09 Jun 2009 21:48:25 -0000 On Tue, 2009-06-09 at 22:55 +0200, Vladimir 'phcoder' Serbinenko wrote: > > --target=partmap doesn't work on whole disks. > It was the intent. I'm norking on nested partitions and consider the > following situation: > hd0 is subdivided by pc partmap into > hd0,1 - linux > hd0,2 - solaris which is subdivided by sun partmap into > hd0,2,1 - root > hd0,2,2 - swap > Then > probe -p hd0 gives "none" > probe -p hd0,2 gives "pc" > probe -p hd0,2,2 gives "sun" > another possibility would be > probe -p hd0 gives "pc" > probe -p hd0,2 gives "sun" > probe -p hd0,2,2 gives "none" > I don't have strong preference for one or other option but it can't > say "pc" on both hd0 and hd0,1 I think it the concept is not obvious to the user, maybe we could omit that functionality? Are you going to use it anywhere? > P.S. could you improve & commit your target libc patch? I'm looking at it now, but it will take some time. I've just noticed that I didn't post another patch that is required for correct implementation (AC_CHECK_FUNCS doesn't work if the target headers are missing). Also, I want to eliminate GRUB_SOURCE, at least from the configuration scripts. -- Regards, Pavel Roskin