Version 2.02.00 -
===================================
+ Fix lvdisplay to show all mirror destinations.
Replacement suspend code using libdevmapper dependency tree.
Add DEFS to make.tmpl.
Use dm_is_dm_major instead of local copy.
static void _display(const struct lv_segment *seg)
{
const char *size;
+ uint32_t s;
log_print(" Mirrors\t\t%u", seg->area_count);
log_print(" Mirror size\t\t%u", seg->area_len);
log_print(" Mirror original:");
display_stripe(seg, 0, " ");
- log_print(" Mirror destination:");
- display_stripe(seg, 1, " ");
+ log_print(" Mirror destinations:");
+ for (s = 1; s < seg->area_count; s++)
+ display_stripe(seg, s, " ");
log_print(" ");
}