grub-devel
[Top][All Lists]
Advanced

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

Re: Open Firmware: search devalias children for disks


From: Marco Gerards
Subject: Re: Open Firmware: search devalias children for disks
Date: Thu, 02 Sep 2004 07:12:18 +0000
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Hollis Blanchard <address@hidden> writes:

> I couldn't find where ":0" was documented until I looked at the
> disk-label package in the CHRP OF binding. There it indeed says
> partition 0 means "whole disk".
>
> However, I discovered that quik stage1 goes out of its way to omit the
> ":0" when calling "open"! Old World Open Firmware is not claimed to be
> CHRP-compliant... (New World OF is at least much closer, but I doubt
> it is claimed to be exactly CHRP-compliant either.)

Right.

> Since I assume the ":0" is needed on CHRP and New World systems (and
> after all it is in the spec), I'm thinking we need a global flag set
> in cmain() and read in grub_ofdisk_open(). Later on we may discover
> similar problems elsewhere. I'd suggest feature-based flags like
> "GRUB_NO_PARTITION_0".

Better use the GRUB_IEEE1275_ prefix.  so that will be:
GRUB_IEEE1275_NO_PARTITION_0.

> (I'd really like to be able to use the pre-existing quik packages, as
> everybody has those installed already. But sadly I don't think that
> can be done for the quik installer, as it has a hardcoded constant we
> can't live with.) :(

It would be nice if we did not have to depend on quik.

Thanks,
Marco





reply via email to

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