Robert Millan <[EMAIL PROTECTED]> writes:

[...]

> I've looked into this, but I need some advice.  What's the simplest way to
> obtain the corresponding grub_partition_t structure for a partition by knowing
> its drive name?

You can use grub_partition_iterate.  Or open the disk and use
->partition.  You can read the name of the partitioning scheme.  The
is also done in grub-setup.c, in the code you altered.

--
Marco




_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to