Support net-/openbsd labels inside logical partitions
This commit is contained in:
parent
43de930c20
commit
4b98e0d7c7
3 changed files with 45 additions and 21 deletions
|
@ -22,6 +22,8 @@
|
|||
#include <grub/symbol.h>
|
||||
#include <grub/types.h>
|
||||
#include <grub/err.h>
|
||||
#include <grub/disk.h>
|
||||
#include <grub/partition.h>
|
||||
|
||||
/* The signature. */
|
||||
#define GRUB_PC_PARTITION_SIGNATURE 0xaa55
|
||||
|
@ -114,4 +116,9 @@ grub_msdos_partition_is_extended (int type)
|
|||
|| type == GRUB_PC_PARTITION_TYPE_LINUX_EXTENDED);
|
||||
}
|
||||
|
||||
grub_err_t
|
||||
grub_partition_msdos_iterate (grub_disk_t disk,
|
||||
int (*hook) (grub_disk_t disk,
|
||||
const grub_partition_t partition));
|
||||
|
||||
#endif /* ! GRUB_PC_PARTITION_HEADER */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue