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@suse.de>
This commit is contained in:
parent
ac5678dd9b
commit
cc86f89c85
4
Create.c
4
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue