Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KQ7pY-0002Nn-F6 for mharc-grub-devel@gnu.org; Mon, 04 Aug 2008 17:43:04 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQ7pW-0002IH-9M for grub-devel@gnu.org; Mon, 04 Aug 2008 17:43:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQ7pV-0002GJ-Dk for grub-devel@gnu.org; Mon, 04 Aug 2008 17:43:01 -0400 Received: from [199.232.76.173] (port=33119 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQ7pV-0002G0-8O for grub-devel@gnu.org; Mon, 04 Aug 2008 17:43:01 -0400 Received: from aybabtu.com ([69.60.117.155]:44505) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KQ7pU-0002jJ-QN for grub-devel@gnu.org; Mon, 04 Aug 2008 17:43:01 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1KQ7iH-0007PE-8T for grub-devel@gnu.org; Mon, 04 Aug 2008 23:35:33 +0200 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1KQ7oN-00038N-Ta for grub-devel@gnu.org; Mon, 04 Aug 2008 23:41:51 +0200 Date: Mon, 4 Aug 2008 23:41:51 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080804214151.GB11798@thorin> 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> <48976922.3090109@t-online.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48976922.3090109@t-online.de> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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 21:43:02 -0000 On Mon, Aug 04, 2008 at 10:40:02PM +0200, Christian Franke wrote: > 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. Why not have the user write a custom entry then? I think it clutters the user interface to add options for everything. If a corner case (boot a non native disk, can't use os-prober) can be supported by creating a new config file, why not do that? It was the whole reason for designing update-grub to be easily extensible. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."