From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KfxXz-0006Wu-O4 for mharc-grub-devel@gnu.org; Wed, 17 Sep 2008 09:58:23 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KfxXx-0006WS-U1 for grub-devel@gnu.org; Wed, 17 Sep 2008 09:58:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KfxXw-0006W4-I9 for grub-devel@gnu.org; Wed, 17 Sep 2008 09:58:21 -0400 Received: from [199.232.76.173] (port=56153 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KfxXw-0006Vr-2J for grub-devel@gnu.org; Wed, 17 Sep 2008 09:58:20 -0400 Received: from aybabtu.com ([69.60.117.155]:42396) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KfxXv-0001XM-Ja for grub-devel@gnu.org; Wed, 17 Sep 2008 09:58:19 -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 1KfxM8-0006yt-0F for grub-devel@gnu.org; Wed, 17 Sep 2008 15:46:08 +0200 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1KfxWC-00060T-Gb for grub-devel@gnu.org; Wed, 17 Sep 2008 15:56:32 +0200 Date: Wed, 17 Sep 2008 15:56:32 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080917135632.GA23010@thorin> References: <1220530928.4167.49.camel@fz.local> <1220536611.16992.1.camel@dv> <48C01D0C.1000300@nic.fi> <1220550619.18782.33.camel@fz.local> <20080904194559.GG9133@thorin> <1221501383.4278.2.camel@fz.local> <48CEA5EB.4000304@nic.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <48CEA5EB.4000304@nic.fi> 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-operating-system: 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: Wed, 17 Sep 2008 13:58:22 -0000 On Mon, Sep 15, 2008 at 09:14:03PM +0300, Vesa Jääskeläinen wrote: > Felix Zielcke wrote: > > Am Donnerstag, den 04.09.2008, 21:45 +0200 schrieb Robert Millan: > >> 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. > >> > > > > Attached is now a patch which renames it to grub-mkconf and prints it to > > stdout instead of grub.cfg file. > > I kept the Found kernel/initrd etc. stuff to stderr, but maybe this > > should be removed ? > > mkconf? > > Could it be a bit more verbose ;)... if we are to go path of > grub-mkconfig (or even grub-make-config). I like my bikeshed with "config" in it, too. ;-) > Thou I prefer myself > grub-update-config being more descriptive on what it does. With the proposed behaviour, it wouldn't be "updating" anything. That depends on how it is used (one could just want to generate grub.cfg a single time, or so). > grub-update-config --out could be easily used to override where > to save the generate configuration file. Why not '-o' for consistency with grub-mk*image ? -- 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."