Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JUmGI-0004eX-4R for mharc-grub-devel@gnu.org; Thu, 28 Feb 2008 12:09:38 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUmGF-0004Zo-GI for grub-devel@gnu.org; Thu, 28 Feb 2008 12:09:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUmGC-0004Us-Ki for grub-devel@gnu.org; Thu, 28 Feb 2008 12:09:33 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUmGC-0004Uf-4D for grub-devel@gnu.org; Thu, 28 Feb 2008 12:09:32 -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 1JUmGB-0005LS-Q5 for grub-devel@gnu.org; Thu, 28 Feb 2008 12:09:31 -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 1JUmGA-0008Jl-HQ for grub-devel@gnu.org; Thu, 28 Feb 2008 18:09:30 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1JUmEM-000780-JF for grub-devel@gnu.org; Thu, 28 Feb 2008 18:07:38 +0100 Date: Thu, 28 Feb 2008 18:07:38 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080228170738.GB26926@thorin> References: <47BEDCE2.3000301@leat.rub.de> <47BEEC03.9050902@leat.rub.de> <20080224152237.GB25984@thorin> <47C28F0D.7090703@leat.rub.de> <20080225142009.GJ14597@thorin> <47C66239.9020709@leat.rub.de> <20080228101000.GA350@thorin> <47C68CBD.8020601@leat.rub.de> <20080228104156.GJ350@thorin> <47C69F1D.9090405@leat.rub.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <47C69F1D.9090405@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: Thu, 28 Feb 2008 17:09:37 -0000 On Thu, Feb 28, 2008 at 12:46:37PM +0100, Fabian Greffrath wrote: > > if [ -x "`which os-prober 2>/dev/null`" ] ; then Better do this like it's done in other scripts (check grub-install). Not sure why, I guess it's more portable that way... > if [ -x "`which linux-boot-prober 2>/dev/null`" ] ; then same here. > hurd) > # not yet... > ;; For this one, I think it'd be much better to rework 10_hurd so that code is shared, rather than duplicating the whole blurb. Do you plan to do that later? Btw, what about *BSD? Does os-prober detect those as "chain" or ... ? > *) > ;; Maybe it's better to echo something here, otherwise it gives the impression OS FooBar was just detected and properly added. -- 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 /.)