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: Felix Zielcke
Subject: Re: [PATCH] skip over invalid BSD partitions
Date: Fri, 01 Aug 2008 12:48:55 +0200

Am Freitag, den 01.08.2008, 12:40 +0200 schrieb Marco Gerards:

> When does this occur?
> 
That's the Debian bugreport for it:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478238

It's very easy to reproduce.
I never used any *BSD flavour just Linux so I even didn't know about
these BSD subpartitions or whatever these are.
I made a new partition table with Linux fdisk
Set the first partition to type 0x6a for OpenBSD
then the second one to type 0x83 for Linux
formated 2. with ext2
tested it with grub-probe and grub-emu 
It failed to detect it because the for() stops reading further
partitions if the BSD one is invalid.


> 
> If you continue as no error occured, why do you throw an error?
> 

I thought it would be a good idea to give the user a warning that
something is wrong with that partition which has a BSD type.
At least the return is wrong see above.






reply via email to

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