mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
The hard drive media device path contains the size of the partition,
not its end. This makes the GEOM efimedia attribute match the FreeBSD:Boot1Device environment variable now. Sponsored by: Netflix
This commit is contained in:
parent
b2b1603e17
commit
a905e3962c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323125
@ -735,7 +735,7 @@ g_part_gpt_dumpconf(struct g_part_table *table, struct g_part_entry *baseentry,
|
||||
sbuf_printf(sb, "HD(%d,GPT,", entry->base.gpe_index);
|
||||
sbuf_printf_uuid(sb, &entry->ent.ent_uuid);
|
||||
sbuf_printf(sb, ",%#jx,%#jx)", (intmax_t)entry->base.gpe_start,
|
||||
(intmax_t)entry->base.gpe_end);
|
||||
(intmax_t)(entry->base.gpe_end - entry->base.gpe_start + 1));
|
||||
sbuf_printf(sb, "</efimedia>\n");
|
||||
} else {
|
||||
/* confxml: scheme information */
|
||||
|
Loading…
Reference in New Issue
Block a user