From 3ebe00a1e238dc3b582fe3aa266c7620f199a2d4 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 4 Nov 2008 20:50:39 +1100 Subject: imsm: display container uuid in detail_super Signed-off-by: Dan Williams Signed-off-by: NeilBrown --- super-intel.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/super-intel.c b/super-intel.c index eca1de7..34dfb8f 100644 --- a/super-intel.c +++ b/super-intel.c @@ -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) -- cgit