grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] skip over invalid BSD partitions


From: Robert Millan
Subject: Re: [PATCH] skip over invalid BSD partitions
Date: Fri, 1 Aug 2008 15:02:22 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Fri, Aug 01, 2008 at 12:40:17PM +0200, Marco Gerards wrote:
> > -               return grub_error (GRUB_ERR_BAD_PART_TABLE,
> > -                                  "no space for disk label");
> > -
> > +               {
> > +                 grub_error (GRUB_ERR_BAD_PART_TABLE,
> > +                             "no space for disk label");
> > +                 continue;
> > +               }
> 
> If you continue as no error occured, why do you throw an error?

Uhm nobody's going to handle this error.  The caller will simply see that
some partitions are not processed.

How about using grub_dprintf instead?

-- 
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."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]