diff options
author | Neil Brown <neilb@suse.de> | 2006-10-23 15:51:26 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-10-23 15:51:26 +1000 |
commit | e843d5d7796815471510ddc9367845b876c4435c (patch) | |
tree | c7b8ab9653f796857c6fa27c30d85f8667e485a2 /mdadm.c | |
parent | 3a43c8039227d5d4b0cf02c086b21bb65c145450 (diff) | |
download | mdadm-e843d5d7796815471510ddc9367845b876c4435c.tar.gz mdadm-e843d5d7796815471510ddc9367845b876c4435c.tar.xz mdadm-e843d5d7796815471510ddc9367845b876c4435c.zip |
Support --examine --brief --verbose properly
Similar to -Esv, this combination should print out the
'devices=' line in the otherwise --breif output.
Diffstat (limited to 'mdadm.c')
-rw-r--r-- | mdadm.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1148,6 +1148,8 @@ int main(int argc, char *argv[]) fprintf(stderr, Name ": No devices listed in %s\n", configfile?configfile:DefaultConfFile); exit(1); } + if (brief && verbose) + brief = 2; rv = Examine(devlist, scan?(verbose>1?0:verbose+1):brief, scan, SparcAdjust, ss, homehost); } else { if (devlist == NULL) { |