Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MPhKN-0003jf-TW for mharc-grub-devel@gnu.org; Sat, 11 Jul 2009 14:29:39 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MPhKL-0003jE-Ew for grub-devel@gnu.org; Sat, 11 Jul 2009 14:29:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MPhKH-0003fA-Nl for grub-devel@gnu.org; Sat, 11 Jul 2009 14:29:37 -0400 Received: from [199.232.76.173] (port=49674 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPhKH-0003f3-KO for grub-devel@gnu.org; Sat, 11 Jul 2009 14:29:33 -0400 Received: from aybabtu.com ([69.60.117.155]:37662) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MPhKH-0000HE-4G for grub-devel@gnu.org; Sat, 11 Jul 2009 14:29:33 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1MPgFV-0007Cy-7K for grub-devel@gnu.org; Sat, 11 Jul 2009 19:20:33 +0200 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1MPhKE-0004qC-5X for grub-devel@gnu.org; Sat, 11 Jul 2009 20:29:30 +0200 Date: Sat, 11 Jul 2009 20:29:30 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090711182930.GB18506@thorin> References: <20090708153823.GA7367@riva.ucam.org> <20090710173121.GF17114@thorin> <20090710201912.GJ11691@riva.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090710201912.GJ11691@riva.ucam.org> 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.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) Subject: Re: Configuration option to disable os-prober? 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: Sat, 11 Jul 2009 18:29:38 -0000 On Fri, Jul 10, 2009 at 09:19:12PM +0100, Colin Watson wrote: > On Fri, Jul 10, 2009 at 07:31:21PM +0200, Robert Millan wrote: > > On Wed, Jul 08, 2009 at 04:38:23PM +0100, Colin Watson wrote: > > > Some people seem to want to disable os-prober for various reasons (e.g. > > > they have lots of test installations lying around that they don't > > > normally want to get in the way, or they don't want installations on > > > external drives to be included permanently in the boot menu, etc.). Now, > > > they can just remove the os-prober package, but that doesn't really > > > scale as other packages are allowed to depend on it too. > > > > > > Perhaps we could have a configuration option for this? Patch attached. > > > > Hi, > > > > I'm unfamiliar with os-prober. What other purposes are there for installing > > it? grub-mkconfig is the only one I can think of, so the situation you > > describe sounds very unlikely. Could you ellaborate? > > Well, I happen to know that our graphical installer depends on it :-), > and sometimes people install it for testing purposes (or it accidentally > remains installed). More generally though I'm not a fan of "remove this > package" as a configuration mechanism. Ok then. > > I'm concerned about the number of options in grub-mkconfig in general. It > > has a tendency to grow a lot, and unfortunately they're not documented. > > Maybe that's amenable to being addressed in itself - perhaps a manual > page? (info is fine for complete manuals for large systems but not > really great for quick-reference kind of things.) We generate manpages dynamically using help2man. Improving --help output would improve the manpage, and it'd be nice to have all of this documented. But this is just my "wish of the day". It shouldn't be a stopper for adding this option if you need it. -- 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."