]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Create: Improve warning message about booting from v1.x
authorNeilBrown <neilb@suse.de>
Sun, 31 Jan 2010 23:37:58 +0000 (10:37 +1100)
committerNeilBrown <neilb@suse.de>
Sun, 31 Jan 2010 23:37:58 +0000 (10:37 +1100)
Suggesting that if your boot loaded doesn't support v1.x, then use
  --metadata=1.0
doesn't make a lot of sense.
Also, '/', isn't really important, it is /boot that matters.
Hopefully people who have /boot on '/' realise that /boot is
on '/' ....

Signed-off-by: NeilBrown <neilb@suse.de>
Create.c

index 7714828634dc0c0f81de98b8c57e55d085da73e2..909ac5da5fcba1fad615e402a4d9da503edee9bd 100644 (file)
--- a/Create.c
+++ b/Create.c
@@ -393,9 +393,9 @@ int Create(struct supertype *st, char *mddev,
                                warn |= 1024;
                                fprintf(stderr, Name ": Note: this array has metadata at the start and\n"
                                        "    may not be suitable as a boot device.  If you plan to\n"
-                                       "    store '/' or '/boot' on this device please ensure that\n"
+                                       "    store '/boot' on this device please ensure that\n"
                                        "    your boot-loader understands md/v1.x metadata, or use\n"
-                                       "    --metadata=1.0\n");
+                                       "    --metadata=0.90\n");
                        }
                        close(fd);
                }