On Sat, Mar 07, 2009 at 03:58:46PM +0100, phcoder wrote:
> Hello. I was looking into nested partitions issue and propose to unify  
> grub_partition and grub_disk. In this case when a code calls  
> grub_disk_read with a grub_disk_t which represents a partition it will  
> correct the offset and call grub_disk_read with underlying partition or  
> disk. In this way not only nested partitions become natural but also  
> conceptually similar fields of total_sectors and len become unified. As  
> it's an important design change I send this e-mail before coding it

Makes sense to me.  But it'd be interesting to hear from the person who
designed it this way.  Perhaps there's a non-obvious reason.

Who's that?  Maybe Marco or Okuji?

Also an interesting question is how would "has_partitions" field be
handled in this scheme.

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


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to