Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MtpwI-0002jT-2D for mharc-grub-devel@gnu.org; Fri, 02 Oct 2009 17:45:22 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MtpwF-0002if-P1 for grub-devel@gnu.org; Fri, 02 Oct 2009 17:45:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mtpw7-0002cm-TN for grub-devel@gnu.org; Fri, 02 Oct 2009 17:45:17 -0400 Received: from [199.232.76.173] (port=48405 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mtpw7-0002cW-Ka for grub-devel@gnu.org; Fri, 02 Oct 2009 17:45:11 -0400 Received: from mail-fx0-f205.google.com ([209.85.220.205]:36442) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mtpw6-0004MI-Rl for grub-devel@gnu.org; Fri, 02 Oct 2009 17:45:11 -0400 Received: by fxm1 with SMTP id 1so1366766fxm.31 for ; Fri, 02 Oct 2009 14:45:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=SIaOsTUiJuOhS5dS6jVQolNtqyTtHBucwJ24T8UNj6c=; b=GMIpzcgqOsGaGSpgPtu6HdXJKFE25iTsEmMh/nYYdMWfSc3MJyS5jKnFEwefQXT3i2 CpkS+IwBn0uDeRnH+znlsPiLqRBP48HdVxRGOt04sB/hGKvu2zjk7f4iglb8VPsE1dzp EqyUSAQZD+PdhTl77oycuXjLgQYh9IZi/5NRE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=MKbMDeO3yQEuqTPShV6s8ttEhn/a+Fg+Tz3OicG59QYcUZ3Th1tO9RZI06rJW9r0vm gv5W5NFJpmVxGw2By0UIPOvpa7dOpYJFPb1WT3qH8WFo24jrF0P0ZD7/fl4lzKwSUr3h 1UdE7+apLiNIQlu4956At54x8Efkg5K5Y9VNY= MIME-Version: 1.0 Received: by 10.239.145.142 with SMTP id s14mr293822hba.144.1254519909013; Fri, 02 Oct 2009 14:45:09 -0700 (PDT) In-Reply-To: <20091002205346.GB19103@thorin> References: <20090927180451.GA23688@titan> <20091002205346.GB19103@thorin> Date: Fri, 2 Oct 2009 16:45:08 -0500 Message-ID: <2e59e6970910021445y6029a95ekf3e341df16159cbb@mail.gmail.com> From: "richardvoigt@gmail.com" To: The development of GRUB 2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Support for howmany option in grub2 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: Fri, 02 Oct 2009 21:45:20 -0000 On Fri, Oct 2, 2009 at 3:53 PM, Robert Millan wrote: > On Sun, Sep 27, 2009 at 08:04:51PM +0200, jezz@hkfree.org wrote: >> Hello, >> I am using Debian GNU/Linux as my primary system. As a loader I am using= GRUB. >> Actually I have upgraded to GRUB2. I don't know, if it was feature of or= iginal >> (legacy) GRUB or it was functionality provided by debian scripts (update= -grub), >> for generating menu.lst. There was feature - howmany. This option specif= ies >> number of kernels, that user wants to have in boot menu. Script, that mo= difies >> menu.lst, use this variable. I like this feature, because I have usually= more >> kernels, but I want to see only last two versions in GRUB menu. I have c= reated >> patch, that add support for this to /etc/grub.d/10_linux. I have created= this >> patch against version shipped with Debian (1.97~beta3-1) - I don't know = if >> there are some Debian specific modifications. Also there should be varia= ble >> GRUB_HOW_MANY propagated from /etc/default/grub (my patch don't do >> this). >> Kernel and it's rescue variant is counted as one kernel. >> >> I have already reported this bug to Debian BTS: >> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D548600 > > Does anyone else think we want an option for this? =C2=A0It seems like "f= eature > creep". IMO this is the responsibility of the distro. The distro's package manager is presumably what adds and removes kernels, there's no way that the grub scripts should be expected to know when past kernels have been removed. With more manual-install oriented distros like gentoo, trying to have grub maintain the kernel list like this would be insane, since the local admin determines the naming convention. > > -- > Robert Millan > > =C2=A0The DRM opt-in fallacy: "Your data belongs to us. We will decide wh= en (and > =C2=A0how) you may access your data; but nobody's threatening your freedo= m: we > =C2=A0still allow you to remove your data and not access it at all." > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel >