diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-11-04 20:50:39 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2008-11-04 20:50:39 +1100 |
commit | 3ebe00a1e238dc3b582fe3aa266c7620f199a2d4 (patch) | |
tree | 74dd8055c4dcbb6e14dca20b43f134ba3ec4a4c9 | |
parent | 44470971ce9f1467c0eed4c5ec94acfc8eab4c68 (diff) | |
download | mdadm-3ebe00a1e238dc3b582fe3aa266c7620f199a2d4.tar.gz mdadm-3ebe00a1e238dc3b582fe3aa266c7620f199a2d4.tar.xz mdadm-3ebe00a1e238dc3b582fe3aa266c7620f199a2d4.zip |
imsm: display container uuid in detail_super
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
-rw-r--r-- | super-intel.c | 7 |
1 files changed, 6 insertions, 1 deletions
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) |