All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [RFC] rename update-grub to update-grubcfg
Date: Thu, 4 Sep 2008 21:45:59 +0200	[thread overview]
Message-ID: <20080904194559.GG9133@thorin> (raw)
In-Reply-To: <1220550619.18782.33.camel@fz.local>

On Thu, Sep 04, 2008 at 07:50:19PM +0200, Felix Zielcke wrote:
> 
> I have now read over the old thread, I was just too lazy first and it
> was half a year old anyway.
> Okuji suggested grub-update-config too.
> 
> Personally as a user I would still prefer update-grub* and even
> install-grub
> Because you are update'ing grub's config and installing grub
> grub-mkdevicemap and grub-probe make sense that way
> make device map for grub
> probe for a grub device
> 
> Though yes for consistency everything grub-* would be better.
> It's just like Robert already said on the old thread, Debian people know
> it as update-grub from grub-legacy.
> 
> So there should be some update-grub wrapper/stub for a while, with a
> hint that it's deprecated now.

Since we're going for a change, why not fix the CLI while at it?

It'd be much more flexible and consistent if the command was meant to
*generate* a grub.cfg rather than update the canonical /boot/grub/grub.cfg.

This way, one could implement update-grub as, say:

  #!/bin/bash
  grub-mkconfig > /boot/grub/grub.cfg

  (oversimplified, but you get the point)

or be able to do other kind of magic, like:

  #!/bin/bash
  grub-mkconfig > /boot/grub/grub.cfg.autogen

and then let user choose if they want their grub.cfg to be a symlink to
grub.cfg.autogen or a standalone, user-editted file (this is a common user
request).

Then we could provide an update-grub implementation, or leave it to
distributors like Debian to do it for the sake of backwards
compatibility.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



  reply	other threads:[~2008-09-04 19:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-04 12:22 [RFC] rename update-grub to update-grubcfg Felix Zielcke
2008-09-04 13:56 ` Pavel Roskin
2008-09-04 17:38   ` Vesa Jääskeläinen
2008-09-04 17:50     ` Felix Zielcke
2008-09-04 19:45       ` Robert Millan [this message]
2008-09-15 17:56         ` Felix Zielcke
2008-09-15 18:14           ` Vesa Jääskeläinen
2008-09-17 13:56             ` Robert Millan
2008-09-17 14:31               ` Vesa Jääskeläinen
2008-09-17 15:24                 ` Felix Zielcke
2008-09-24  9:49                   ` Robert Millan
2008-09-24 11:04                     ` Felix Zielcke
2008-09-24 13:22                       ` Robert Millan
2008-09-24 13:34                         ` Felix Zielcke
2008-09-24 13:54                           ` Robert Millan
2008-09-29 14:57                             ` Felix Zielcke

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=20080904194559.GG9133@thorin \
    --to=rmh@aybabtu.com \
    --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.