mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-22 15:47:37 +00:00
Put the scheme (APM, GPT, etc) in the XML.
This commit is contained in:
parent
2a3b7123e3
commit
e8e1f54462
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169065
@ -52,7 +52,7 @@ static kobj_method_t g_part_null_methods[] = {
|
||||
};
|
||||
|
||||
static struct g_part_scheme g_part_null_scheme = {
|
||||
NULL,
|
||||
"n/a",
|
||||
g_part_null_methods,
|
||||
sizeof(struct g_part_table),
|
||||
};
|
||||
@ -1249,6 +1249,8 @@ g_part_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp,
|
||||
(uintmax_t)pp->mediasize);
|
||||
G_PART_DUMPCONF(table, entry, sb, indent);
|
||||
} else { /* Geom configuration. */
|
||||
sbuf_printf(sb, "%s<scheme>%s</scheme>\n", indent,
|
||||
table->gpt_scheme->name);
|
||||
sbuf_printf(sb, "%s<entries>%u</entries>\n", indent,
|
||||
table->gpt_entries);
|
||||
sbuf_printf(sb, "%s<first>%ju</first>\n", indent,
|
||||
|
Loading…
Reference in New Issue
Block a user