summaryrefslogtreecommitdiffstats
path: root/super-intel.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-06-04 12:44:32 +1000
committerNeilBrown <neilb@suse.de>2009-06-04 12:44:32 +1000
commitfa09d4961e5c72da3c7f78d53a7d64f5196110a3 (patch)
tree046077ee7667ee062188694b58c76f30e336f4f4 /super-intel.c
parent4291d691b66f65695b5b4be22b80fd00da73b544 (diff)
downloadmdadm-fa09d4961e5c72da3c7f78d53a7d64f5196110a3.tar.gz
mdadm-fa09d4961e5c72da3c7f78d53a7d64f5196110a3.tar.xz
mdadm-fa09d4961e5c72da3c7f78d53a7d64f5196110a3.zip
Examine: fix --examine --brief --verbose on containers.
With --verbose, --examine --brief prints dev= information after the personality has done its bit. But with containers, the member array are printed in between. So in super-ddf and super-intel, move printing of the member arrays to before printing of the container. This avoids confusion. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'super-intel.c')
-rw-r--r--super-intel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/super-intel.c b/super-intel.c
index 7e2a086..3abaca5 100644
--- a/super-intel.c
+++ b/super-intel.c
@@ -768,7 +768,6 @@ static void brief_examine_super_imsm(struct supertype *st, int verbose)
getinfo_super_imsm(st, &info);
fname_from_uuid(st, &info, nbuf, ':');
- printf("ARRAY metadata=imsm UUID=%s\n", nbuf + 5);
for (i = 0; i < super->anchor->num_raid_devs; i++) {
struct imsm_dev *dev = get_imsm_dev(super, i);
@@ -778,6 +777,7 @@ static void brief_examine_super_imsm(struct supertype *st, int verbose)
printf("ARRAY /dev/md/%.16s container=%s member=%d UUID=%s\n",
dev->volume, nbuf + 5, i, nbuf1 + 5);
}
+ printf("ARRAY metadata=imsm UUID=%s\n", nbuf + 5);
}
static void export_examine_super_imsm(struct supertype *st)