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:
parent
e897c5498e
commit
f934c98bcf
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user