Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MEIz8-0004jY-DS for mharc-grub-devel@gnu.org; Wed, 10 Jun 2009 04:16:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MEIz6-0004hh-Kn for grub-devel@gnu.org; Wed, 10 Jun 2009 04:16:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MEIz2-0004fF-RK for grub-devel@gnu.org; Wed, 10 Jun 2009 04:16:36 -0400 Received: from [199.232.76.173] (port=49406 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MEIz2-0004fA-Nf for grub-devel@gnu.org; Wed, 10 Jun 2009 04:16:32 -0400 Received: from mail-bw0-f209.google.com ([209.85.218.209]:54864) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MEItt-0007uu-QL for grub-devel@gnu.org; Wed, 10 Jun 2009 04:11:14 -0400 Received: by bwz5 with SMTP id 5so126732bwz.42 for ; Wed, 10 Jun 2009 01:11:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=SxNazsY4YGLOQ/BpdgQ/4HokbQJvDzW6AstgOatIZxw=; b=bTe8NV/3RPB9hBHvXqNqDrNfLhXMjZdmn4MHQGA4+3xTgXYkAwJ9gELoC6d6NodXC0 IANXkqdkVo55/7hJG5089i0KEKiwD9x74PFRiJiNnNiZPk3JRKTJc/UMicKVx8cG9oDc IOy+GT3bfS2D12NIJ0kqd2aWq0U8ZBQYITXss= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=xNa5IxUL0Dfke+KJvFjJF/OmP02aJwzuhqfCgYxR76Tt6oCLEe39VjwwqDFukvHOpI /mc/K44otXdVt2gckRSfYBMLRUtH1Dzf0n3whlR2CHM74ZN++m1I2VVmcKciD1vCLA+i t7CklPHTZ9uJOl9tC+qAwARRNBnDnqckBGUTQ= MIME-Version: 1.0 Received: by 10.204.67.66 with SMTP id q2mr1028839bki.166.1244621469699; Wed, 10 Jun 2009 01:11:09 -0700 (PDT) In-Reply-To: <1244584096.3467.4.camel@mj> References: <1244575428.4408.26.camel@mj> <1244584096.3467.4.camel@mj> Date: Wed, 10 Jun 2009 10:11:09 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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: Wed, 10 Jun 2009 08:16:36 -0000 On Tue, Jun 9, 2009 at 11:48 PM, Pavel Roskin wrote: > On Tue, 2009-06-09 at 22:55 +0200, Vladimir 'phcoder' Serbinenko wrote: > >> > --target=3Dpartmap 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? =A0Are you going to use it anywhere? The idea was to give the scriptwriters more possibilities for autoconfig. There is normally no reason for an end user to use this functionality at all but it may be useful in writing automated scripts for usage on e.g. rescue CD > >> P.S. could you improve & commit your target libc patch? > > I'm looking at it now, but it will take some time. =A0I'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). =A0Also, I want to eliminate GRUB_SOURCE, at least from the > configuration scripts. > > -- > Regards, > Pavel Roskin > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Regards Vladimir 'phcoder' Serbinenko