]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
--update: add 'bbl' and 'no-bbl' to the list of known updates.
authorNeilBrown <neilb@suse.de>
Wed, 27 Aug 2014 11:04:59 +0000 (21:04 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 27 Aug 2014 11:04:59 +0000 (21:04 +1000)
so "mdadm -A --update=?" mentions them.

Reported-by: Peter Hoeg <peter@hoeg.com>
Signed-off-by: NeilBrown <neilb@suse.de>
mdadm.c

diff --git a/mdadm.c b/mdadm.c
index be990b8a4b8063455c77a7e1393c38a3b31c936f..c856fcd6335020c00d0edad82616d7109378aa55 100644 (file)
--- a/mdadm.c
+++ b/mdadm.c
@@ -781,7 +781,9 @@ int main(int argc, char *argv[])
                        fprintf(outf, "Valid --update options are:\n"
                "     'sparc2.2', 'super-minor', 'uuid', 'name', 'resync',\n"
                "     'summaries', 'homehost', 'byteorder', 'devicesize',\n"
-               "     'no-bitmap', 'metadata', 'revert-reshape'\n");
+               "     'no-bitmap', 'metadata', 'revert-reshape'\n"
+               "     'bbl', 'no-bbl'\n"
+                               );
                        exit(outf == stdout ? 0 : 2);
 
                case O(MANAGE,'U'):