diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-07-31 17:11:41 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-07-31 17:11:41 -0700 |
commit | 0d5a423fe7481de5ce20c6174841afeb1aadd255 (patch) | |
tree | d790fcbd5510102ac34f241621a80ab3e04ff32f /super-intel.c | |
parent | 37424f132cb3874fe51021b1b5e04445a3ba1bdb (diff) | |
download | mdadm-0d5a423fe7481de5ce20c6174841afeb1aadd255.tar.gz |
imsm: fixup examine_brief to be more descriptive in the container only case
Prior to creating any arrays in a new container the output from -Ebs for
a 4-disk imsm array returns:
spares=4
We should at least display that these are imsm spares:
ARRAY metadata=imsm
spares=4
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'super-intel.c')
-rw-r--r-- | super-intel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/super-intel.c b/super-intel.c index 7b04a79..207d3be 100644 --- a/super-intel.c +++ b/super-intel.c @@ -763,8 +763,10 @@ static void brief_examine_super_imsm(struct supertype *st, int verbose) struct intel_super *super = st->sb; int i; - if (!super->anchor->num_raid_devs) + if (!super->anchor->num_raid_devs) { + printf("ARRAY metadata=imsm\n"); return; + } getinfo_super_imsm(st, &info); fname_from_uuid(st, &info, nbuf, ':'); |