From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KbKnn-0006Sn-BI for mharc-grub-devel@gnu.org; Thu, 04 Sep 2008 15:47:35 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbKnl-0006QW-L9 for grub-devel@gnu.org; Thu, 04 Sep 2008 15:47:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbKnk-0006Oj-Hw for grub-devel@gnu.org; Thu, 04 Sep 2008 15:47:32 -0400 Received: from [199.232.76.173] (port=52183 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbKnk-0006OU-B4 for grub-devel@gnu.org; Thu, 04 Sep 2008 15:47:32 -0400 Received: from aybabtu.com ([69.60.117.155]:40720) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KbKnj-0006AU-FB for grub-devel@gnu.org; Thu, 04 Sep 2008 15:47:31 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1KbKdL-0008G4-Eb for grub-devel@gnu.org; Thu, 04 Sep 2008 21:36:48 +0200 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1KbKmF-0002dJ-Gy for grub-devel@gnu.org; Thu, 04 Sep 2008 21:45:59 +0200 Date: Thu, 4 Sep 2008 21:45:59 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080904194559.GG9133@thorin> References: <1220530928.4167.49.camel@fz.local> <1220536611.16992.1.camel@dv> <48C01D0C.1000300@nic.fi> <1220550619.18782.33.camel@fz.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1220550619.18782.33.camel@fz.local> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [RFC] rename update-grub to update-grubcfg X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2008 19:47:34 -0000 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."