Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OeBiV-0004f5-Nu for mharc-grub-devel@gnu.org; Wed, 28 Jul 2010 14:50:59 -0400 Received: from [140.186.70.92] (port=39519 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeBiP-0004dF-Kd for grub-devel@gnu.org; Wed, 28 Jul 2010 14:50:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OeBiO-00051i-FU for grub-devel@gnu.org; Wed, 28 Jul 2010 14:50:53 -0400 Received: from caffeine.csclub.uwaterloo.ca ([129.97.134.17]:52580) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeBiO-00051Y-D4 for grub-devel@gnu.org; Wed, 28 Jul 2010 14:50:52 -0400 Received: from caffeine.csclub.uwaterloo.ca (localhost [127.0.0.1]) by caffeine.csclub.uwaterloo.ca (Postfix) with ESMTP id 92D5CC4AD for ; Wed, 28 Jul 2010 14:50:50 -0400 (EDT) Received: by caffeine.csclub.uwaterloo.ca (Postfix, from userid 20367) id 021B7CB50; Wed, 28 Jul 2010 14:50:43 -0400 (EDT) Date: Wed, 28 Jul 2010 14:50:41 -0400 To: The development of GNU GRUB Message-ID: <20100728185041.GL2632@caffeine.csclub.uwaterloo.ca> References: <4C4E2FC5.10607@gmail.com> <20100727152625.GX2632@caffeine.csclub.uwaterloo.ca> <4C4FEF8C.5060200@gmail.com> <20100728150037.GC2632@caffeine.csclub.uwaterloo.ca> <20100728155158.GE2632@caffeine.csclub.uwaterloo.ca> <4C505B37.2020009@gmail.com> <20100728170155.GG2632@caffeine.csclub.uwaterloo.ca> <4C5064F0.6000501@gmail.com> <20100728174219.GI2632@caffeine.csclub.uwaterloo.ca> <4C50708A.4030104@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C50708A.4030104@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen) X-Virus-Scanned: ClamAV using ClamSMTP X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Big Endian fix patch X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2010 18:50:57 -0000 On Wed, Jul 28, 2010 at 02:01:46PM -0400, Doug Nazar wrote: > I was just looking at that. In disk/raid.c:129 we set the flag that > tells the system to try looking for partitions. I've been debating > whether to add code to disk/raid.c to detect if there actually is a > partition table (by probing for all known partition types) or fix the > tab completion code to offer a ')' also instead of assuming you want a > partition. > > I'm not sure of the GRUB design philosophy, but the first option might > be considered a layering violation. Maybe grub_device_open() should > check and then clear the flag if it doesn't have a table. Certainly is seems USB keys and similar may hit the same problem. Sometimes they have partitions and sometimes they don't. So not really the raid code's fault. -- Len Sorensen