diff options
author | NeilBrown <neilb@suse.de> | 2009-05-11 07:18:20 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-05-11 07:18:20 +0200 |
commit | 061f2c6abd014c9f30ca2d784cb535e3e3452c65 (patch) | |
tree | 63c5696cf22393743a3506aee8adfaf2222f4961 /Examine.c | |
parent | mdadm.8 general updates (diff) | |
download | mdadm-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |