All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] probe command
Date: Tue, 09 Jun 2009 17:48:16 -0400	[thread overview]
Message-ID: <1244584096.3467.4.camel@mj> (raw)
In-Reply-To: <d7ead6de0906091355u30034578g1fa5e14df27e035@mail.gmail.com>

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



  reply	other threads:[~2009-06-09 21:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-09 18:23 [PATCH] probe command Vladimir 'phcoder' Serbinenko
2009-06-09 19:23 ` Pavel Roskin
2009-06-09 20:55   ` Vladimir 'phcoder' Serbinenko
2009-06-09 21:48     ` Pavel Roskin [this message]
2009-06-10  8:11       ` Vladimir 'phcoder' Serbinenko
2009-06-15 23:26         ` Vladimir 'phcoder' Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1244584096.3467.4.camel@mj \
    --to=proski@gnu.org \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.