All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Gerards <metgerards@student.han.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [patch] configfile
Date: Sun, 13 Feb 2005 17:53:00 +0000	[thread overview]
Message-ID: <87r7jktkhv.fsf@marco.marco-g.com> (raw)
In-Reply-To: <20050213151851.GA4056@miracle> (Hollis Blanchard's message of "Sun, 13 Feb 2005 09:18:51 -0600")

Hollis Blanchard <hollis@penguinppc.org> writes:

> 2005-02-13  Hollis Blanchard  <hollis@penguinppc.org>
>
> 	* conf/i386-pc.rmk (pkgdata_MODULES): Add configfile.mod.
> 	* conf/powerpc-ieee1275.rmk (pkgdata_MODULES): Likewise.
> 	* commands/configfile.mod: New file.

Could you please add it to grub-emu as well?

> While working on setting prefix correctly, I found it useful to have the
> `configfile' command like GRUB Legacy.

Great! :)

> --- /dev/null	2004-12-18 12:15:49.000000000 -0600
> +++ commands/configfile.c	2005-02-13 09:11:41.166390400 -0600

[...]

> +static grub_err_t
> +grub_cmd_configfile (struct grub_arg_list *state __attribute__ ((unused)),
> +	      int argc, char **args)
> +
> +{
> +  if (argc != 1)
> +    return grub_error (GRUB_ERR_BAD_ARGUMENT, "file name required");
> +
> +  grub_cls ();
> +  grub_normal_execute (args[0], 1);

When this is called from normal mode, by running a command this means
that another normal mode will be started again.  If you run this
command a few times, you would see a lot normal modes running when
examining the stack, right?

This is the main reason I have not implemented this command yet.  To
me it would seem better to update the data in the already running
normal mode.

Please correct me if I am wrong.

Thanks,
Marco




  parent reply	other threads:[~2005-02-13 18:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-13 15:18 [patch] configfile Hollis Blanchard
2005-02-13 16:03 ` Yoshinori K. Okuji
2005-02-13 17:53 ` Marco Gerards [this message]
2005-02-13 18:49   ` Yoshinori K. Okuji
2005-02-13 19:41     ` Marco Gerards
2005-02-13 20:36       ` Yoshinori K. Okuji
2005-02-14 19:20         ` Marco Gerards
2005-02-14 20:54           ` Yoshinori K. Okuji
2005-02-14 21:03             ` Yoshinori K. Okuji
2005-02-13 18:52   ` Hollis Blanchard

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=87r7jktkhv.fsf@marco.marco-g.com \
    --to=metgerards@student.han.nl \
    --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.