From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HlWGv-0006fg-0P for mharc-grub-devel@gnu.org; Tue, 08 May 2007 16:26:57 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HlWGt-0006cI-HV for grub-devel@gnu.org; Tue, 08 May 2007 16:26:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HlWGr-0006Zg-Vx for grub-devel@gnu.org; Tue, 08 May 2007 16:26:55 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HlWGr-0006Zd-R8 for grub-devel@gnu.org; Tue, 08 May 2007 16:26:53 -0400 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HlW9j-00039t-R7 for grub-devel@gnu.org; Tue, 08 May 2007 16:19:32 -0400 Received: from kotoba.oasis.nexedi.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id E5F5C3D15B578 for ; Wed, 9 May 2007 02:20:10 +0200 (CEST) Received: from [??1] (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id BA29C3D15B577 for ; Wed, 9 May 2007 02:20:10 +0200 (CEST) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Tue, 8 May 2007 22:19:30 +0200 User-Agent: KMail/1.9.4 References: <20070507082135.GA8703@aragorn> <200705072123.08398.okuji@enbug.org> <20070507200637.GC3143@aragorn> In-Reply-To: <20070507200637.GC3143@aragorn> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705082219.30102.okuji@enbug.org> X-Bogosity: No, tests=bogofilter, spamicity=0.000001, version=0.17.2 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: grub-probe without arguments 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: Tue, 08 May 2007 20:26:55 -0000 On Monday 07 May 2007 22:06, Robert Millan wrote: > On Mon, May 07, 2007 at 09:23:08PM +0200, Yoshinori K. Okuji wrote: > > On Monday 07 May 2007 10:21, Robert Millan wrote: > > > I think it would be reasonable to allow grub-probe to work without > > > arguments. Any comments? > > > > Why do you think so? > > Because it's commonly invoked while debugging. The uninitiated might have > some trouble figuring out the right parameter (specialy if they're not > debugging themselves, but providing information for someone else to debug > e.g. via BTS). The right parameter depends on system status. For instance, if you are trying to install GRUB from an installer, and a boot partition is mounted at somewhere else (e.g. /mnt/boot), it won't work correctly, anyway. I prefer that grub-probe gets an argument explicitly, so that the user can at least understand that grub-probe probes a certain directory. Okuji