Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JTIlY-0002xb-RS for mharc-grub-devel@gnu.org; Sun, 24 Feb 2008 10:27:48 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JTIlX-0002xC-UH for grub-devel@gnu.org; Sun, 24 Feb 2008 10:27:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JTIlW-0002wR-DW for grub-devel@gnu.org; Sun, 24 Feb 2008 10:27:47 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTIlW-0002wN-5A for grub-devel@gnu.org; Sun, 24 Feb 2008 10:27:46 -0500 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 1JTIlV-0007uT-QU for grub-devel@gnu.org; Sun, 24 Feb 2008 10:27:45 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JTIjI-0004hr-Q2 for grub-devel@gnu.org; Sun, 24 Feb 2008 16:25:29 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1JTIgX-0006og-QT for grub-devel@gnu.org; Sun, 24 Feb 2008 16:22:37 +0100 Date: Sun, 24 Feb 2008 16:22:37 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080224152237.GB25984@thorin> References: <47B19C57.9020902@leat.rub.de> <20080213154224.GB30040@thorin> <47B32029.200@leat.rub.de> <20080213193534.GA28711@thorin> <47B3FCEC.6020107@leat.rub.de> <20080217134219.GB15576@thorin> <47BEDCE2.3000301@leat.rub.de> <47BEEC03.9050902@leat.rub.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <47BEEC03.9050902@leat.rub.de> 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: [NEW PATCH] Add option to grub-probe to accept system devices as 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: Sun, 24 Feb 2008 15:27:48 -0000 Sorry for the long delay, I've been very busy (and unfortunately I'll continue to be :-(). On Fri, Feb 22, 2008 at 04:36:35PM +0100, Fabian Greffrath wrote: > Well, the solution seems to be easier than I expected. Is the attached > patch acceptable? It looks good to me. Just a pair of minor details (simply for consistency with code style in grub): > + if (path == NULL) > + { > + if ( ! grub_util_check_block_device (device_name)) could you remove the space in "( !" ? > + if (argument_is_device) > + probe (NULL,argument); > + else > + probe (argument,NULL); please add a space after the comma. If you fix those, include a ChangeLog entry and noone else objects, I'll commit it. Feel free to ping me with a direct mail if I stale for too long. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.)