Dump device status on 'list' command.
This commit is contained in:
parent
925fa96b13
commit
28b31df727
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user