diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | config.c | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -5,6 +5,8 @@ Changes Prior to this release - Fix some endian-ness issues with version-1 superblocks (affects bigendian only). - Fix endian problem with 'bitmap' metadata + - Allow a number (of partitions) after the 'yes' option to --auto= + This is particularly useful in the 'create' line in mdadm.conf. Changes Prior to 2.5.3 release - Document v0.91 superblocks in md.4 @@ -291,6 +291,8 @@ int parse_auto(char *str, char *msg, int config) len = e - str; if ((len == 2 && strncasecmp(str,"md",2)==0)) { autof = config ? 5 : 3; + } else if ((len == 3 && strncasecmp(str,"yes",3)==0)) { + autof = 2; } else if ((len == 3 && strncasecmp(str,"mdp",3)==0)) { autof = config ? 6 : 4; } else if ((len == 1 && strncasecmp(str,"p",1)==0) || |