All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Searching UUID on floppies
Date: Sat, 31 May 2008 11:53:11 +0200	[thread overview]
Message-ID: <20080531095311.GE6619@thorin> (raw)
In-Reply-To: <ca0f59980805302238r53909795ve80685d6d57c4acd@mail.gmail.com>

On Sat, May 31, 2008 at 01:38:07PM +0800, Bean wrote:
> On Sat, May 31, 2008 at 6:14 AM, Pavel Roskin <proski@gnu.org> 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

<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)



  parent reply	other threads:[~2008-05-31  9:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-30 22:14 Searching UUID on floppies Pavel Roskin
2008-05-31  5:38 ` Bean
2008-05-31  5:43   ` Bean
2008-05-31 19:30     ` Robert Millan
2008-05-31 19:41       ` Bean
2008-05-31  9:53   ` Robert Millan [this message]
2008-05-31 19:06     ` Isaac Dupree
2008-05-31 19:27       ` Robert Millan
2008-05-31 21:56         ` Isaac Dupree
2008-05-31 22:10           ` Robert Millan
2008-06-01  6:19     ` Pavel Roskin
2008-06-01 10:22       ` Robert Millan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080531095311.GE6619@thorin \
    --to=rmh@aybabtu.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.