Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K2Js8-0002mi-HV for mharc-grub-devel@gnu.org; Sat, 31 May 2008 01:43:20 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K2Js5-0002m8-Vj for grub-devel@gnu.org; Sat, 31 May 2008 01:43:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K2Js4-0002kr-DT for grub-devel@gnu.org; Sat, 31 May 2008 01:43:17 -0400 Received: from [199.232.76.173] (port=47696 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2Js4-0002kc-52 for grub-devel@gnu.org; Sat, 31 May 2008 01:43:16 -0400 Received: from ti-out-0910.google.com ([209.85.142.187]:12147) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K2Js4-0001Ac-3u for grub-devel@gnu.org; Sat, 31 May 2008 01:43:16 -0400 Received: by ti-out-0910.google.com with SMTP id u5so91406tia.10 for ; Fri, 30 May 2008 22:43:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=d/Zf/qBeGrAhJY1FA7JmUvpwuIYuYwzSNnNrvmc4O5Y=; b=sC6KUKqid16H5xwZtK9ItSUTJPTO3DJDEJunk+5pL07N0yGrQSV5UCgyfrL82Km1d5cWJu8d3VtMj9zVD5a+brGWvUvECnhR0owYm02xqO9TcCgOm1FPLFSBYQm805nLBoFTaOPXBDr7uWovTucHcH9idTxaz382aS/4jKm/jYc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NGja3of3GHkQ/kVHycc14lhSvHLJxNR9FrQbhgMn4Dg92vaWSqkf2ZrBE6Qym0xWZd4ZXXohBT1t2pARBopSRIaHhkaCgcYTA/HfD76l4LXly34xWiMKE3oCjIqaTqgbtlyPu7bTVabaewcgtZLWrpsv402LBoQi2KOOMLrcTH4= Received: by 10.110.92.8 with SMTP id p8mr852484tib.9.1212212593834; Fri, 30 May 2008 22:43:13 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Fri, 30 May 2008 22:43:13 -0700 (PDT) Message-ID: Date: Sat, 31 May 2008 13:43:13 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1212185676.18496.9.camel@dv> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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 05:43:18 -0000 On Sat, May 31, 2008 at 1:38 PM, 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. BTW, if you merely need to change the scan order instead of disabling it, you can just change the order the device is reported in biosdisk. -- Bean