The 'historical' state is displayed as 5th bit ("state") in the lv_attr
field and denoted by new 'h' character.
}
/* Blank if this is a "free space" LV. */
- if (!*lv->name)
+ if (!*lv->name && !lv_is_historical(lv))
goto out;
if (lv_is_pvmove(lv))
repstr[3] = (lv->status & FIXED_MINOR) ? 'm' : '-';
- if (!activation() || !lvdm->info_ok) {
+ if (lv_is_historical(lv)) {
+ repstr[4] = 'h';
+ repstr[5] = '-';
+ } else if (!activation() || !lvdm->info_ok) {
repstr[4] = 'X'; /* Unknown */
repstr[5] = 'X'; /* Unknown */
} else if (lvdm->info.exists) {