From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HlWOh-0003xD-Du for mharc-grub-devel@gnu.org; Tue, 08 May 2007 16:34:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HlWOf-0003tc-OZ for grub-devel@gnu.org; Tue, 08 May 2007 16:34:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HlWOf-0003rj-5i for grub-devel@gnu.org; Tue, 08 May 2007 16:34:57 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HlWOe-0003rM-LA for grub-devel@gnu.org; Tue, 08 May 2007 16:34:56 -0400 Received: from mail.freedom.ind.br ([201.35.65.90] helo=freedom.ind.br) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HlWHW-0003uS-FV for grub-devel@gnu.org; Tue, 08 May 2007 16:27:34 -0400 Received: from freedom.ind.br (localhost [127.0.0.1]) by freedom.ind.br (Postfix) with ESMTP id B2E35CA62 for ; Tue, 8 May 2007 17:27:33 -0300 (BRT) Received: from lab.ossystems.com.br (localhost [127.0.0.1]) by freedom.ind.br (Postfix) with SMTP id 7462FCA61 for ; Tue, 8 May 2007 17:27:33 -0300 (BRT) Received: from 10.1.0.243 ([10.1.0.243] helo=lab.ossystems.com.br) by mail.freedom.ind.br; 8 May 2007 17:27:33 -0300 Received: (nullmailer pid 20746 invoked by uid 1000); Tue, 08 May 2007 20:27:47 -0000 From: Otavio Salvador To: The development of GRUB 2 Organization: O.S. Systems Ltda. References: <20070507082135.GA8703@aragorn> <200705072123.08398.okuji@enbug.org> <20070507200637.GC3143@aragorn> <200705082219.30102.okuji@enbug.org> X-URL: http://www.debian.org/~otavio/ X-Attribution: O.S. Date: Tue, 08 May 2007 17:27:47 -0300 In-Reply-To: <200705082219.30102.okuji@enbug.org> (Yoshinori K. Okuji's message of "Tue, 8 May 2007 22:19:30 +0200") Message-ID: <876473dprw.fsf@lab.ossystems.com.br> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: Linux 2.6 (newer, 3) 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:34:58 -0000 "Yoshinori K. Okuji" writes: > 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. I agree on that with Okuji. It'll get messy and difficult to guess if the calling result is right or not. -- O T A V I O S A L V A D O R --------------------------------------------- E-mail: otavio@debian.org UIN: 5906116 GNU/Linux User: 239058 GPG ID: 49A5F855 Home Page: http://otavio.ossystems.com.br --------------------------------------------- "Microsoft sells you Windows ... Linux gives you the whole house."