From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1QgMzK-00010U-Du for mharc-grub-devel@gnu.org; Mon, 11 Jul 2011 16:21:54 -0400 Received: from eggs.gnu.org ([140.186.70.92]:40906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgMzG-0000zc-6w for grub-devel@gnu.org; Mon, 11 Jul 2011 16:21:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgMzB-0004Dn-MB for grub-devel@gnu.org; Mon, 11 Jul 2011 16:21:49 -0400 Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.121]:53696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgMzB-0004DG-AW for grub-devel@gnu.org; Mon, 11 Jul 2011 16:21:45 -0400 Authentication-Results: cdptpa-omtalb.mail.rr.com smtp.user=psusi@cfl.rr.com; auth=pass (PLAIN) X-Authority-Analysis: v=1.1 cv=pLPlkKcK38cN4Cv4YkVeTGGRYpmKez/IrX640LVKWnc= c=1 sm=0 a=aAvtD6xXQTUA:10 a=b8JhnR15cDMA:10 a=8nJEP1OIZ-IA:10 a=pg4Dpxby4z7sZisWVyJ9NA==:17 a=GXcMvxqYiLp_9BkSnJkA:9 a=wPNLvfGTeEIA:10 a=pg4Dpxby4z7sZisWVyJ9NA==:117 X-Cloudmark-Score: 0 X-Originating-IP: 72.242.190.170 Received: from [72.242.190.170] ([72.242.190.170:54231] helo=[10.1.1.230]) by cdptpa-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTPA id 35/5F-20202-65B5B1E4; Mon, 11 Jul 2011 20:21:42 +0000 Message-ID: <4E1B5B56.50609@cfl.rr.com> Date: Mon, 11 Jul 2011 16:21:42 -0400 From: Phillip Susi User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Axel Kellermann Subject: Re: [PATCH] Skip partitions during OS probing References: <4E18CB86.8040806@gmx.de> <4E1B1333.6050505@cfl.rr.com> <4E1B1D09.9030703@gmx.de> In-Reply-To: <4E1B1D09.9030703@gmx.de> 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: 75.180.132.121 Cc: grub-devel@gnu.org 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: Mon, 11 Jul 2011 20:21:53 -0000 On 7/11/2011 11:55 AM, Axel Kellermann wrote: > Good point. I guess the proposed solution works well with internal HDDs, > as they tend to always get the same device names during system > initialization (at least I never observed different behaviour on my > machine), but could be fragile for external drives. If you only have one controller, then the disks will tend to be enumerated in the same order each time, but many people have multiple controllers these days so the order jumbles around quite a bit. Often times a USB flash stick can be detected first and get sda, bumping the internal hard disks down. Even if you only have one controller, sometimes a drive can take a little longer to spin up and one of the other drives can finish being detected first. > I guess we could work with UUIDs instead of partition names, but it also > turns this little patch into something a bit more complicated. I'd be > happy to look into it, but we should first decide if we really cover a > use-case here or if the whole thing isn't worth the effort. Fixing the underlying problem of detecting and ignoring the Win7 system partition would render the patch moot. If it does really still cover a use-case to be able to manually specify partitions to ignore, it needs to be done with UUIDs or something else more stable.