Add an entry to the gpart XML to determine if the geom has pending changes

that need to be committed (or undone).

MFC after:	2 weeks
This commit is contained in:
nwhitehorn 2011-01-06 03:36:04 +00:00
parent e897c5498e
commit f934c98bcf

View File

@ -1868,6 +1868,8 @@ g_part_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp,
table->gpt_heads);
sbuf_printf(sb, "%s<state>%s</state>\n", indent,
table->gpt_corrupt ? "CORRUPT": "OK");
sbuf_printf(sb, "%s<modified>%s</modified>\n", indent,
table->gpt_opened ? "true": "false");
G_PART_DUMPCONF(table, NULL, sb, indent);
}
}