grub-devel
[Top][All Lists]
Advanced

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

Re: iterate return values


From: Yoshinori K. Okuji
Subject: Re: iterate return values
Date: Sat, 22 Jan 2005 12:26:19 +0100
User-agent: KMail/1.7.1

On Saturday 22 January 2005 07:57, Hollis Blanchard wrote:
> When a hook is passed to grub_partition_iterate, it is applied to
> partmap->iterate. However, the partition map's iterate functions can
> return non-zero in case of error (such as "not a PC partition map").
> Non-zero is then propagated back to grub_partition_map_iterate, and
> the iteration stops. In that case we should clearly keep going to try
> another partition map type.

It's a big problem. I think grub_partition_iterate should not return 
non-zero when it fails.

Okuji




reply via email to

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