From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Sfl5M-0007rc-5X for mharc-grub-devel@gnu.org; Sat, 16 Jun 2012 00:58:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57919) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sfl5K-0007qk-0h for grub-devel@gnu.org; Sat, 16 Jun 2012 00:58:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sfl5I-00054s-CV for grub-devel@gnu.org; Sat, 16 Jun 2012 00:58:05 -0400 Received: from qmta03.westchester.pa.mail.comcast.net ([76.96.62.32]:56968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sfl5I-00054l-8m for grub-devel@gnu.org; Sat, 16 Jun 2012 00:58:04 -0400 Received: from omta03.westchester.pa.mail.comcast.net ([76.96.62.27]) by qmta03.westchester.pa.mail.comcast.net with comcast id Nswu1j0020bG4ec53sy288; Sat, 16 Jun 2012 04:58:02 +0000 Received: from [192.168.1.101] ([24.63.69.222]) by omta03.westchester.pa.mail.comcast.net with comcast id Nsy11j0034nkFao3Psy1ko; Sat, 16 Jun 2012 04:58:01 +0000 Message-ID: <4FDC1259.2060109@comcast.net> Date: Sat, 16 Jun 2012 00:58:01 -0400 From: Robert Mabee User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: [PATCH] Don't look for a partition map on a floppy References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 76.96.62.32 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 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: Sat, 16 Jun 2012 04:58:07 -0000 > Minix floppies are partitioned. > Facts are such inconvenient things. I'm still looking for a way to iterate through partitions without incurring the floppy timeout, something like this: for dev in *; do if ! regexp "\(fd[0-9]\)" $dev; then for part in ($dev,*); do I can see how to change the *-expansion logic so * wouldn't read partmaps (since it only matches devices anyway) and so (hd0,*) would only access hd0.