From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K2NmD-0007dW-4T for mharc-grub-devel@gnu.org; Sat, 31 May 2008 05:53:29 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K2NmA-0007bx-CW for grub-devel@gnu.org; Sat, 31 May 2008 05:53:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K2Nm9-0007bI-MP for grub-devel@gnu.org; Sat, 31 May 2008 05:53:25 -0400 Received: from [199.232.76.173] (port=55119 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2Nm9-0007b9-FB for grub-devel@gnu.org; Sat, 31 May 2008 05:53:25 -0400 Received: from aybabtu.com ([69.60.117.155]:49536) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K2Nm9-0003ty-6g for grub-devel@gnu.org; Sat, 31 May 2008 05:53:25 -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.63) (envelope-from ) id 1K2Nlc-0004tu-AB for grub-devel@gnu.org; Sat, 31 May 2008 11:52:52 +0200 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1K2Nlv-0001wp-A7 for grub-devel@gnu.org; Sat, 31 May 2008 11:53:11 +0200 Date: Sat, 31 May 2008 11:53:11 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080531095311.GE6619@thorin> References: <1212185676.18496.9.camel@dv> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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: Searching UUID on floppies 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, 31 May 2008 09:53:27 -0000 On Sat, May 31, 2008 at 01:38:07PM +0800, Bean wrote: > On Sat, May 31, 2008 at 6:14 AM, Pavel Roskin wrote: > > Hello! > > > > An old system with a floppy drive has a minor regression with the > > current GRUB. It makes some noises for a second or two when GRUB loads, > > apparently trying to find a floppy disk in the drive. > > > > It's possible that some misconfigured systems may even hang or wait for > > a long time if the floppy drive is absent, but BIOS expects it to be > > present. It's easy to blame users, but it will be seen as a regression. > > > > Perhaps the UUID search should start with the hard drives and then go to > > the floppies as the last resort? > > Good point, but I think we shouldn't hard coded the scan method in > search. Perhaps we can add a option to search to skip some device, > something such as: > > search --ignore-device=fd /file > > Or we can use a variable like: > > noscan=fd > > The advantage of using variable is that we can use it in findroot as well. Some of our commands use --no-floppy. Also supported in GRUB Legacy (by 'find' or so, can't remember). Perhaps it's better to use that for consistency? It is the floppy scan which everyone hates; for other devices I don't think people will mind if GRUB spends a few ms on them. ./util/i386/pc/grub-install.in: --no-floppy do not probe any floppy drive ./util/i386/pc/grub-install.in: --no-floppy) ./util/i386/pc/grub-install.in: no_floppy="--no-floppy" ;; ./util/i386/efi/grub-install.in: --no-floppy do not probe any floppy drive ./util/i386/efi/grub-install.in: --no-floppy) ./util/i386/efi/grub-install.in: no_floppy="--no-floppy" ;; ./util/grub-mkdevicemap.c: {"no-floppy", no_argument, 0, 'n'}, ./util/grub-mkdevicemap.c: -n, --no-floppy do not probe any floppy drive\n\ ./docs/grub.texi:@item --no-floppy -- Robert Millan I know my rights; I want my phone call! What good is a phone call… if you are unable to speak? (as seen on /.)