imsm: display container uuid in detail_super

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
Dan Williams 2008-11-04 20:50:39 +11:00 committed by NeilBrown
parent 44470971ce
commit 3ebe00a1e2
1 changed files with 6 additions and 1 deletions

View File

@ -641,7 +641,12 @@ static void brief_examine_super_imsm(struct supertype *st)
static void detail_super_imsm(struct supertype *st, char *homehost)
{
printf("%s\n", __FUNCTION__);
struct mdinfo info;
char nbuf[64];
getinfo_super_imsm(st, &info);
fname_from_uuid(st, &info, nbuf,'-');
printf("\n UUID : %s\n", nbuf + 5);
}
static void brief_detail_super_imsm(struct supertype *st)