summaryrefslogtreecommitdiffstats
path: root/Examine.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-05-11 07:18:20 +0200
committerNeilBrown <neilb@suse.de>2009-05-11 07:18:20 +0200
commit061f2c6abd014c9f30ca2d784cb535e3e3452c65 (patch)
tree63c5696cf22393743a3506aee8adfaf2222f4961 /Examine.c
parentmdadm.8 general updates (diff)
downloadmdadm-061f2c6abd014c9f30ca2d784cb535e3e3452c65.tar.xz
mdadm-061f2c6abd014c9f30ca2d784cb535e3e3452c65.zip
Make --brief even briefer.
Because ---examine --brief, or --detail --brief are often used to create mdadm.conf, and because people don't want to have to update their mdadm.conf unnecessarily, we don't want to include information that might change. And now that level changing is supported, that is almost everything but UUID. So move some more fields into the "Only print with --verbose" class. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Examine.c')
-rw-r--r--Examine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examine.c b/Examine.c
index 3827e7ed..bc06b40c 100644
--- a/Examine.c
+++ b/Examine.c
@@ -141,7 +141,7 @@ int Examine(mddev_dev_t devlist, int brief, int export, int scan,
for (ap=arrays; ap; ap=ap->next) {
char sep='=';
char *d;
- ap->st->ss->brief_examine_super(ap->st);
+ ap->st->ss->brief_examine_super(ap->st, brief > 1);
if (ap->spares) printf(" spares=%d", ap->spares);
if (brief > 1) {
printf(" devices");