NeilBrown: Create: Improve warning message about booting from v1.x

Martin F. Krafft madduck at alioth.debian.org
Mon May 24 09:20:46 UTC 2010


Module: mdadm
Branch: upstream
Commit: cc86f89c855fcfe9820d0621ede1575adc317155
URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=cc86f89c855fcfe9820d0621ede1575adc317155

Author: NeilBrown <neilb at suse.de>
Date:   Mon Feb  1 10:37:58 2010 +1100

Create: Improve warning message about booting from v1.x

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 at suse.de>

---

 Create.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Create.c b/Create.c
index 7714828..909ac5d 100644
--- 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);
 		}




More information about the pkg-mdadm-commits mailing list