Report 's' for shared snapshots. Signed-off-by: Mikulas Patocka --- lib/report/report.c | 7 +++++++ 1 file changed, 7 insertions(+) Index: LVM2.2.02.53/lib/report/report.c =================================================================== --- LVM2.2.02.53.orig/lib/report/report.c 2009-10-14 01:45:18.000000000 +0200 +++ LVM2.2.02.53/lib/report/report.c 2009-10-14 01:48:36.000000000 +0200 @@ -322,6 +322,8 @@ static int _lvstatus_disp(struct dm_repo repstr[0] = 'I'; else if (lv->status & MIRROR_LOG) repstr[0] = 'l'; + else if (lv_is_multisnap_cow(lv)) + repstr[0] = 's'; else if (lv->status & VIRTUAL) repstr[0] = 'v'; else if (lv_is_origin(lv)) @@ -528,6 +530,11 @@ static int _origin_disp(struct dm_report { const struct logical_volume *lv = (const struct logical_volume *) data; + if (lv_is_multisnap_cow(lv)) { + const struct lv_segment *seg = first_seg(lv); + return _lvname_disp(rh, mem, field, seg->origin, private); + } + if (lv_is_cow(lv)) return _lvname_disp(rh, mem, field, origin_from_cow(lv), private);