[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] rename update-grub to update-grubcfg

From: Robert Millan
Subject: Re: [RFC] rename update-grub to update-grubcfg
Date: Thu, 4 Sep 2008 21:45:59 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

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:

  grub-mkconfig > /boot/grub/grub.cfg

  (oversimplified, but you get the point)

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

  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

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

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 via email to

[Prev in Thread] Current Thread [Next in Thread]