From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JRphe-0005dh-3M for mharc-grub-devel@gnu.org; Wed, 20 Feb 2008 09:13:42 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JRphc-0005cT-Ll for grub-devel@gnu.org; Wed, 20 Feb 2008 09:13:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JRpha-0005bT-LZ for grub-devel@gnu.org; Wed, 20 Feb 2008 09:13:39 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRpha-0005bN-De for grub-devel@gnu.org; Wed, 20 Feb 2008 09:13:38 -0500 Received: from mx2.rz.ruhr-uni-bochum.de ([134.147.64.30]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JRpha-0001Jt-0Q for grub-devel@gnu.org; Wed, 20 Feb 2008 09:13:38 -0500 X-Queued: (qmail 13063 invoked by uid 281); 20 Feb 2008 14:13:35 -0000 X-Qmailscanner: from 134.147.252.214 by mx2.rz.ruhr-uni-bochum.de (envelope-from , uid 80) with qmail-scanner-2.01 (sophie: 3.05/2.52/4.24. Clear:RC:1(134.147.252.214):. Processed in 0.037774 secs); 20 Feb 2008 14:13:35 -0000 Received: from router.leat.ruhr-uni-bochum.de (134.147.252.214) by mx2.rz.ruhr-uni-bochum.de with SMTP; 20 Feb 2008 14:13:35 -0000 Received: from [134.147.55.45] (frodo.leat.ruhr-uni-bochum.de [134.147.55.45]) by router.leat.ruhr-uni-bochum.de (8.12.2/8.12.2/SuSE Linux 0.6) with ESMTP id m1KEJ41l010205 for ; Wed, 20 Feb 2008 15:19:04 +0100 Message-ID: <47BC35A9.10007@leat.rub.de> Date: Wed, 20 Feb 2008 15:14:01 +0100 From: Fabian Greffrath User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: The development of GRUB 2 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> In-Reply-To: <20080217134219.GB15576@thorin> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 Subject: Re: [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: Wed, 20 Feb 2008 14:13:41 -0000 Now that the FSF has received my copyright assignment paper back, I'd like to become productive on this issue again. From what we've discussed so far I assume that you prefer - the introduction of a new command line option - passing two parameters to probe(), a path and a device, of which one is NULL - not exporting the IF_BLKDEV test into a new function as long as strdup() of the returned string cannot be avoided. Cheers, Fabian