This means the output of "mdadm -Es" can be used as a complete
mdadm.conf file .... if you really want to do that.
Signed-off-by: Neil Brown <neilb@suse.de>
emails can be explicitly set.
- Arrange that SparesMissing (which is similar in import to
DegradedArray) generates an Email.
+ - Assume "DEVICE partitions" if no DEVICE line is given.
Changes Prior to 2.4.1 release
- Honour --write-mostly when adding to an array without persistent
}
load_conffile(conffile);
-
+
+ if (cdevlist == NULL)
+ /* default to 'partitions */
+ dlist = load_partitions();
+
for (cd=cdevlist; cd; cd=cd->next) {
if (strcasecmp(cd->name, "partitions")==0 && dlist == NULL)
dlist = load_partitions();
.I /dev
to find the name that matches the numbers.
+If no DEVICE line is present, then "DEVICE partitions" is assumed.
+
For example:
.IP
DEVICE /dev/hda* /dev/hdc*