Displaying 4 results from an estimated 4 matches for "str_to_guid".
2016 Jul 17
0
[PATCH] Restore - chain.c32: Allow both "guid" and "uuid"
...t_iter **_iter)
error("Unable to find requested MBR signature.");
goto bail;
}
- } else if (!strncmp(opt.drivename, "guid", 4)) {
+ } else if (!strncmp(opt.drivename, "guid", 4) ||
+ !strncmp(opt.drivename, "uuid", 4)) {
if (str_to_guid(opt.drivename + 5, &gpt_guid))
goto bail;
if (find_by_guid(&gpt_guid, &iter) < 0) {
diff --git a/com32/chain/options.c b/com32/chain/options.c
index e9c4a62..5531556 100644
--- a/com32/chain/options.c
+++ b/com32/chain/options.c
@@ -394,6 +394,8 @@ int opt_parse_args(int argc...
2015 Sep 24
0
[PATCH] com32/disk: add UEFI support
...,25 @@ struct disk_gpt_header {
} __attribute__ ((packed));
static const char disk_gpt_sig_magic[] = "EFI PART";
+/* common.c */
+extern void disk_dos_part_dump(const struct disk_dos_part_entry *const part);
+extern void guid_to_str(char *buf, const struct guid *const id);
+extern int str_to_guid(const char *buf, struct guid *const id);
+extern void disk_gpt_part_dump(const struct disk_gpt_part_entry *const
+ gpt_part);
+
+/* disk.c */
+#ifndef SYSLINUX_EFI
extern int disk_int13_retry(const com32sys_t * inreg, com32sys_t * outreg);
+#endif
+
extern int disk_g...
2012 Aug 20
13
[PATCH 00/12] Multidisk support
Hello,
the following patches should get multidisk access working.
The syntax accepted is the following:
(hdx,y)/path/to/file
where x is the disk number and start at 0 and the y is the partition number starting at 1. So (hd0,1) is the first partition of the first disk.
the other accepted syntax is using MBR's 32 bits disk signature so for example:
(mbr:0x12345678,2)/foo/bar
would address
2012 Nov 06
50
chain.c32 (and partiter) updates v2
This is a bit updated set of chain.c32 changes that simplifies a few things
(and in partiter part), fixes few minor issues and adds a few new features.
Details are in the following commits, below is the summary and pull details at
the end.
Shao - any chance to peek over them ? Most of those are relatively simple
changes and well tested, though of course something might have slipped my
attention.