summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Assemble.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/Assemble.c b/Assemble.c
index 3c00c91..5acb076 100644
--- a/Assemble.c
+++ b/Assemble.c
@@ -531,9 +531,12 @@ int Assemble(struct supertype *st, char *mddev, int mdfd,
" to have very similar superblocks.\n"
" If they are really different, "
"please --zero the superblock on one\n"
- " If they are the same, please remove "
- "one from the list.\n",
- devices[best[i]].devname, devname);
+ " If they are the same or overlap,"
+ " please remove one from %s.\n",
+ devices[best[i]].devname, devname,
+ inargv ? "the list" :
+ "the\n DEVICE list in mdadm.conf"
+ );
if (must_close) close(mdfd);
return 1;
}