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] search -d|--disk
Date: Mon, 22 Jun 2009 21:51:35 -0400	[thread overview]
Message-ID: <1245721895.809.18.camel@mj> (raw)
In-Reply-To: <20090622234859.GA16795@thorin>

On Tue, 2009-06-23 at 01:48 +0200, Robert Millan wrote:

> This patch adds an option to the search command to restrict the search of
> a file to a given disk.  It will then probe for the file in each of its
> partitions, but not in other disks.

First of all, it would be great is all proposals to add more code come
with a possible use case.  We are approaching the point when grub with
all modules would become too big to some boot partitions.

"VAR" should be "DISK".

"in this disk" should be "on this disk" (disclaimer: English is not my
native language).

"and its partitions" seems excessive to me.  If the disk has partitions,
of course that where we would look.

The implementation is not working:

sh:grub> search -d foo -l /
 hd0,3

I hope that it would be possible to specify a partition for the disk, so
that we easily can look e.g. for a partition with label "/" on a disk
with a partition containing "/boot/grub/grub.cfg".

-- 
Regards,
Pavel Roskin



  reply	other threads:[~2009-06-23  1:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-22 23:48 [PATCH] search -d|--disk Robert Millan
2009-06-23  1:51 ` Pavel Roskin [this message]
2009-06-23 11:50   ` Robert Millan
2009-06-23 21:17     ` Pavel Roskin
2009-06-23 21:55       ` Robert Millan
2009-06-24  3:03         ` Arthur Marsh
2009-06-24 12:04           ` Robert Millan

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=1245721895.809.18.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.