From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LVB0O-0006DE-7w for mharc-grub-devel@gnu.org; Thu, 05 Feb 2009 15:39:24 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVB0M-0006CW-Gw for grub-devel@gnu.org; Thu, 05 Feb 2009 15:39:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVB0K-0006Bb-9Z for grub-devel@gnu.org; Thu, 05 Feb 2009 15:39:21 -0500 Received: from [199.232.76.173] (port=39262 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVB0K-0006BM-2b for grub-devel@gnu.org; Thu, 05 Feb 2009 15:39:20 -0500 Received: from moutng.kundenserver.de ([212.227.126.171]:57764) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LVB0J-0007Y4-Hu for grub-devel@gnu.org; Thu, 05 Feb 2009 15:39:19 -0500 Received: from [85.180.12.6] (e180012006.adsl.alicedsl.de [85.180.12.6]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1LVB0I1WUN-0002oP; Thu, 05 Feb 2009 21:39:18 +0100 From: Felix Zielcke To: The development of GRUB 2 Content-Type: text/plain Date: Thu, 05 Feb 2009 21:39:20 +0100 Message-Id: <1233866360.3426.31.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+j03TPootM1epmKi6oCtO1ZfA1jkP/yG5yo2N 99A9VGjsiTMzfwbogbZ+FE3FruMrqEY8jczECblfqITy+XYcbY ZuQ7xArNdBjeafPyBdbikIIl6+Z1C0i X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [PATCH] try to avoid false positives on FAT filesystem 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, 05 Feb 2009 20:39:22 -0000 Here's a little patch to check if bpb.version_specific.fat12_or_fat16.fstype or bpb.version_specific.fat32.fstype has the string FAT12/FAT16/FAT32 As can be seen on [0] and [1] Dell PCs have a small FAT partition containing some utilities. It seems like mkfs.ext2 isn't always clearing the first 512 bytes. Good for us is that fstype is set to .AT16 on these Dell partitions, so it can be easily avoided. Are there any objections? [0] http://bugs.debian.org/514263 [1] http://bugs.debian.org/505137 -- Felix Zielcke