From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KQ6r4-0005CA-AN for mharc-grub-devel@gnu.org; Mon, 04 Aug 2008 16:40:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQ6r2-00058q-CQ for grub-devel@gnu.org; Mon, 04 Aug 2008 16:40:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQ6r0-00056H-Lk for grub-devel@gnu.org; Mon, 04 Aug 2008 16:40:31 -0400 Received: from [199.232.76.173] (port=58450 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQ6r0-000560-Gg for grub-devel@gnu.org; Mon, 04 Aug 2008 16:40:30 -0400 Received: from mailout07.t-online.de ([194.25.134.83]:54564) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQ6r0-0003QL-5Q for grub-devel@gnu.org; Mon, 04 Aug 2008 16:40:30 -0400 Received: from fwd34.aul.t-online.de by mailout07.sul.t-online.de with smtp id 1KQ6qz-0001bZ-00; Mon, 04 Aug 2008 22:40:29 +0200 Received: from [10.3.2.2] (r3aAj2ZAoh6vQVB2wnpvSTLjtlhA5qWZz9iR9XPQqz-SJ7I7XCe9mK+cjvJVtrVgZ6@[217.235.240.77]) by fwd34.aul.t-online.de with esmtp id 1KQ6qf-1X4FKS0; Mon, 4 Aug 2008 22:40:09 +0200 Message-ID: <48976922.3090109@t-online.de> Date: Mon, 04 Aug 2008 22:40:02 +0200 From: Christian Franke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11 MIME-Version: 1.0 To: The development of GRUB 2 References: <4888E3C5.9090707@t-online.de> <4888E868.10404@t-online.de> <20080725204222.GE18149@thorin> <48922F66.4050803@t-online.de> <48975C7B.7060803@t-online.de> <20080804200002.GA28904@thorin> In-Reply-To: <20080804200002.GA28904@thorin> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ID: r3aAj2ZAoh6vQVB2wnpvSTLjtlhA5qWZz9iR9XPQqz-SJ7I7XCe9mK+cjvJVtrVgZ6 X-TOI-MSGID: 809bea73-a303-4d6e-b525-0b59dd9437b5 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: [PATCH] update-grub for Cygwin 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: Mon, 04 Aug 2008 20:40:32 -0000 Robert Millan wrote: > On Mon, Aug 04, 2008 at 09:46:03PM +0200, Christian Franke wrote: > >> Here a more generic version which allows to specifiy windows system dirs >> by /etc/default/grub:GRUB_WINDOWS_DIRS. >> >> Defaults to current SYSTEMDRIVE on Cygwin, and nothing on other OS. >> >> Christian >> >> 2008-08-04 Christian Franke >> >> * conf/common.rmk: Add `10_windows' to `update-grub_SCRIPTS'. >> * util/grub.d/10_windows.in: New file. >> * util/update-grub.in: Add export of GRUB_WINDOWS_DIRS. >> > > Why is this needed? Can't we do something like 'grub-probe -t device c:/ntldr' > or so? > > It is not needed for standard installations with ntldr on SYSTEMDRIVE (C:). The ability to specify GRUB_WINDOWS_DIRS is added to support non-standard installations. It also allows to use 10_windows on other OS if os-prober is not available. Christian