Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HmXyL-00081E-0a for mharc-grub-devel@gnu.org; Fri, 11 May 2007 12:28:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HmXyI-0007zW-2U for grub-devel@gnu.org; Fri, 11 May 2007 12:27:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HmXyE-0007xn-Nk for grub-devel@gnu.org; Fri, 11 May 2007 12:27:56 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HmXyE-0007xb-Ce for grub-devel@gnu.org; Fri, 11 May 2007 12:27:54 -0400 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HmXqm-0006IA-F9 for grub-devel@gnu.org; Fri, 11 May 2007 12:20:12 -0400 Received: from [192.168.10.6] (helo=aragorn) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1HmXqk-0006tW-Tw for grub-devel@gnu.org; Fri, 11 May 2007 18:20:11 +0200 Received: from rmh by aragorn with local (Exim 4.63) (envelope-from ) id 1HmXsF-00082N-SG for grub-devel@gnu.org; Fri, 11 May 2007 18:21:43 +0200 Date: Fri, 11 May 2007 18:21:43 +0200 From: Robert Millan To: grub-devel@gnu.org Message-ID: <20070511162143.GA30863@aragorn> References: <20070511160314.GA30111@aragorn> <20070511161134.GA30158@aragorn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070511161134.GA30158@aragorn> Organization: free as in freedom X-Message-Flag: Microsoft discourages use of Outlook. X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: Genre and OS details not recognized. Subject: Re: [PATCH] grub-install for EFI 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: Fri, 11 May 2007 16:27:58 -0000 On Fri, May 11, 2007 at 06:11:34PM +0200, Robert Millan wrote: > > One thing that I'm not sure about is the CLI inconsistency. Perhaps it > shouldn't take the directory as a standalone parameter, and instead use > --root-directory? Or perhaps it should do like powerpc and check that /boot/grub is a mount point? # Find the partition at the right mount point. install_device=`awk '$2 == '"\"$grubdir\""' { print $1 }' < /proc/mounts` if test "x$install_device" = x; then echo "$grubdir must be a mount point." exit 1 fi -- Robert Millan My spam trap is honeypot@aybabtu.com. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.