Dump device status on 'list' command.

This commit is contained in:
Pawel Jakub Dawidek 2004-08-18 16:46:51 +00:00
parent 925fa96b13
commit 28b31df727

View File

@ -2758,6 +2758,8 @@ g_raid3_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp,
sbuf_printf(sb, "</Flags>\n");
sbuf_printf(sb, "%s<Components>%u</Components>\n", indent,
sc->sc_ndisks);
sbuf_printf(sb, "%s<State>%s</State>\n", indent,
g_raid3_device_state2str(sc->sc_state));
}
}